summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-23 09:16:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:40:35 +0000
commitebddada48db221838e82fea5f2f14d9faeb53dfe (patch)
treefe42f81c7b361330beb0e4bbf176d7c6b0423662
parentfcf7d992bf0e8dfb887b7c1db29852898deb7684 (diff)
downloadcoreboot-ebddada48db221838e82fea5f2f14d9faeb53dfe.tar.xz
src: Remove unused 'include <bootstate.h>'
Change-Id: I54eda3d51ecda77309841e598f06eb9cea3babc1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/arch/x86/acpi_bert_storage.c1
-rw-r--r--src/arch/x86/tables.c1
-rw-r--r--src/drivers/intel/fsp1_1/hob.c1
-rw-r--r--src/ec/google/chromeec/ec.c1
-rw-r--r--src/lib/cbmem_common.c1
-rw-r--r--src/lib/ext_stage_cache.c1
-rw-r--r--src/lib/imd_cbmem.c1
-rw-r--r--src/mainboard/google/hatch/variants/jinlon/mainboard.c1
-rw-r--r--src/mainboard/intel/strago/mainboard.c1
-rw-r--r--src/mainboard/protectli/vault_kbl/ramstage.c1
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/ramstage.c1
-rw-r--r--src/soc/amd/common/block/psp/psp_gen1.c1
-rw-r--r--src/soc/amd/common/block/psp/psp_gen2.c1
-rw-r--r--src/soc/amd/common/block/psp/psp_smm.c1
-rw-r--r--src/soc/amd/picasso/chip.c1
-rw-r--r--src/soc/intel/apollolake/elog.c1
-rw-r--r--src/soc/intel/braswell/ramstage.c1
-rw-r--r--src/soc/intel/common/block/smm/smm.c1
-rw-r--r--src/soc/intel/common/vbt.c1
-rw-r--r--src/soc/intel/skylake/chip.c1
-rw-r--r--src/soc/intel/skylake/cpu.c1
-rw-r--r--src/soc/intel/tigerlake/pmc.c1
-rw-r--r--src/southbridge/intel/lynxpoint/smi.c1
23 files changed, 0 insertions, 23 deletions
diff --git a/src/arch/x86/acpi_bert_storage.c b/src/arch/x86/acpi_bert_storage.c
index cde95f12e0..de56291ac4 100644
--- a/src/arch/x86/acpi_bert_storage.c
+++ b/src/arch/x86/acpi_bert_storage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <cpu/x86/name.h>
diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c
index 3b1b76d14b..492674c5a9 100644
--- a/src/arch/x86/tables.c
+++ b/src/arch/x86/tables.c
@@ -2,7 +2,6 @@
#include <console/console.h>
#include <bootmem.h>
-#include <bootstate.h>
#include <boot/tables.h>
#include <boot/coreboot_tables.h>
#include <arch/pirq_routing.h>
diff --git a/src/drivers/intel/fsp1_1/hob.c b/src/drivers/intel/fsp1_1/hob.c
index d13939cb11..9a09cfd81a 100644
--- a/src/drivers/intel/fsp1_1/hob.c
+++ b/src/drivers/intel/fsp1_1/hob.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/hlt.h>
-#include <bootstate.h>
#include <console/console.h>
#include <fsp/util.h>
#include <ip_checksum.h>
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index 233f61bafb..a97dfb355e 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -3,7 +3,6 @@
#include <stdint.h>
#include <string.h>
#include <assert.h>
-#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/lib/cbmem_common.c b/src/lib/cbmem_common.c
index c24479deb4..bc3bfc911d 100644
--- a/src/lib/cbmem_common.c
+++ b/src/lib/cbmem_common.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <cbmem.h>
-#include <bootstate.h>
#include <symbols.h>
void cbmem_run_init_hooks(int is_recovery)
diff --git a/src/lib/ext_stage_cache.c b/src/lib/ext_stage_cache.c
index afc061883f..2fb1e9ee90 100644
--- a/src/lib/ext_stage_cache.c
+++ b/src/lib/ext_stage_cache.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <imd.h>
diff --git a/src/lib/imd_cbmem.c b/src/lib/imd_cbmem.c
index d06a9e9416..cb66c3b219 100644
--- a/src/lib/imd_cbmem.c
+++ b/src/lib/imd_cbmem.c
@@ -2,7 +2,6 @@
#include <assert.h>
#include <boot/coreboot_tables.h>
-#include <bootstate.h>
#include <bootmem.h>
#include <console/console.h>
#include <cbmem.h>
diff --git a/src/mainboard/google/hatch/variants/jinlon/mainboard.c b/src/mainboard/google/hatch/variants/jinlon/mainboard.c
index 6e0315b8cc..6fde60278a 100644
--- a/src/mainboard/google/hatch/variants/jinlon/mainboard.c
+++ b/src/mainboard/google/hatch/variants/jinlon/mainboard.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <baseboard/variants.h>
-#include <bootstate.h>
#include <ec/google/chromeec/ec.h>
#include <device/device.h>
#include <drivers/gfx/generic/chip.h>
diff --git a/src/mainboard/intel/strago/mainboard.c b/src/mainboard/intel/strago/mainboard.c
index 287623e549..dd40848948 100644
--- a/src/mainboard/intel/strago/mainboard.c
+++ b/src/mainboard/intel/strago/mainboard.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <device/device.h>
#include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
diff --git a/src/mainboard/protectli/vault_kbl/ramstage.c b/src/mainboard/protectli/vault_kbl/ramstage.c
index 266094a464..962702fb5a 100644
--- a/src/mainboard/protectli/vault_kbl/ramstage.c
+++ b/src/mainboard/protectli/vault_kbl/ramstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <bootstate.h>
#include <soc/ramstage.h>
#include "gpio.h"
diff --git a/src/mainboard/supermicro/x11-lga1151-series/ramstage.c b/src/mainboard/supermicro/x11-lga1151-series/ramstage.c
index 8c9daf702b..5de606d807 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/ramstage.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/ramstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>
diff --git a/src/soc/amd/common/block/psp/psp_gen1.c b/src/soc/amd/common/block/psp/psp_gen1.c
index 703af9d5b9..5096dd3adc 100644
--- a/src/soc/amd/common/block/psp/psp_gen1.c
+++ b/src/soc/amd/common/block/psp/psp_gen1.c
@@ -4,7 +4,6 @@
#include <cbfs.h>
#include <region_file.h>
#include <timer.h>
-#include <bootstate.h>
#include <console/console.h>
#include <amdblocks/psp.h>
#include <soc/iomap.h>
diff --git a/src/soc/amd/common/block/psp/psp_gen2.c b/src/soc/amd/common/block/psp/psp_gen2.c
index cf9b532f88..59e62551c1 100644
--- a/src/soc/amd/common/block/psp/psp_gen2.c
+++ b/src/soc/amd/common/block/psp/psp_gen2.c
@@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <timer.h>
-#include <bootstate.h>
#include <amdblocks/psp.h>
#include <soc/iomap.h>
#include "psp_def.h"
diff --git a/src/soc/amd/common/block/psp/psp_smm.c b/src/soc/amd/common/block/psp/psp_smm.c
index 024e952760..b103b3e629 100644
--- a/src/soc/amd/common/block/psp/psp_smm.c
+++ b/src/soc/amd/common/block/psp/psp_smm.c
@@ -5,7 +5,6 @@
#include <cpu/amd/msr.h>
#include <cbfs.h>
#include <region_file.h>
-#include <bootstate.h>
#include <rules.h>
#include <console/console.h>
#include <amdblocks/psp.h>
diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c
index f5936646d2..9c26f35121 100644
--- a/src/soc/amd/picasso/chip.c
+++ b/src/soc/amd/picasso/chip.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <cpu/amd/mtrr.h>
#include <console/console.h>
#include <device/device.h>
diff --git a/src/soc/intel/apollolake/elog.c b/src/soc/intel/apollolake/elog.c
index 30d7b20306..408017f940 100644
--- a/src/soc/intel/apollolake/elog.c
+++ b/src/soc/intel/apollolake/elog.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <elog.h>
diff --git a/src/soc/intel/braswell/ramstage.c b/src/soc/intel/braswell/ramstage.c
index 101ab92054..893a6b6ea2 100644
--- a/src/soc/intel/braswell/ramstage.c
+++ b/src/soc/intel/braswell/ramstage.c
@@ -2,7 +2,6 @@
#include <arch/cpu.h>
#include <acpi/acpi.h>
-#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <cpu/intel/microcode.h>
diff --git a/src/soc/intel/common/block/smm/smm.c b/src/soc/intel/common/block/smm/smm.c
index 2696777ad7..93fcee2602 100644
--- a/src/soc/intel/common/block/smm/smm.c
+++ b/src/soc/intel/common/block/smm/smm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <cpu/intel/smm_reloc.h>
diff --git a/src/soc/intel/common/vbt.c b/src/soc/intel/common/vbt.c
index 3d0ba1a406..690fb5fc3a 100644
--- a/src/soc/intel/common/vbt.c
+++ b/src/soc/intel/common/vbt.c
@@ -2,7 +2,6 @@
#include <acpi/acpi.h>
#include <bootmode.h>
-#include <bootstate.h>
#include "vbt.h"
#include <drivers/intel/gma/opregion.h>
diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c
index a1ef06e6e0..6ef01d8c0c 100644
--- a/src/soc/intel/skylake/chip.c
+++ b/src/soc/intel/skylake/chip.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <cbmem.h>
#include <fsp/api.h>
#include <acpi/acpi.h>
diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c
index 845becc516..bfa59fed80 100644
--- a/src/soc/intel/skylake/cpu.c
+++ b/src/soc/intel/skylake/cpu.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/cpu.h>
-#include <bootstate.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/soc/intel/tigerlake/pmc.c b/src/soc/intel/tigerlake/pmc.c
index 84a18e3865..4d898700bd 100644
--- a/src/soc/intel/tigerlake/pmc.c
+++ b/src/soc/intel/tigerlake/pmc.c
@@ -7,7 +7,6 @@
*/
#include <acpi/acpigen.h>
-#include <bootstate.h>
#include <console/console.h>
#include <device/mmio.h>
#include <device/device.h>
diff --git a/src/southbridge/intel/lynxpoint/smi.c b/src/southbridge/intel/lynxpoint/smi.c
index 9d575549e8..cddada1d18 100644
--- a/src/southbridge/intel/lynxpoint/smi.c
+++ b/src/southbridge/intel/lynxpoint/smi.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <bootstate.h>
#include <device/device.h>
#include <device/pci.h>
#include <console/console.h>