summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/device/oprom/yabel/vbe.c1
-rw-r--r--src/drivers/emulation/qemu/bochs.c1
-rw-r--r--src/drivers/emulation/qemu/cirrus.c1
-rw-r--r--src/drivers/intel/fsp2_0/graphics.c1
-rw-r--r--src/drivers/intel/gma/intel_ddi.c1
-rw-r--r--src/drivers/pc80/rtc/mc146818rtc.c1
-rw-r--r--src/drivers/spi/spi_flash.c1
-rw-r--r--src/drivers/uart/oxpcie_early.c1
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.h1
-rw-r--r--src/include/boot/tables.h2
-rw-r--r--src/include/vbe.h3
-rw-r--r--src/lib/edid.c1
-rw-r--r--src/lib/imd_cbmem.c1
-rw-r--r--src/mainboard/emulation/spike-riscv/uart.c1
-rw-r--r--src/mainboard/google/beltino/mainboard.c1
-rw-r--r--src/mainboard/google/butterfly/mainboard.c1
-rw-r--r--src/mainboard/google/foster/mainboard.c1
-rw-r--r--src/mainboard/google/link/mainboard.c1
-rw-r--r--src/mainboard/google/oak/mainboard.c1
-rw-r--r--src/mainboard/google/parrot/mainboard.c1
-rw-r--r--src/mainboard/google/rambi/mainboard.c1
-rw-r--r--src/mainboard/google/slippy/mainboard.c1
-rw-r--r--src/mainboard/google/stout/mainboard.c1
-rw-r--r--src/mainboard/intel/baskingridge/mainboard.c1
-rw-r--r--src/mainboard/intel/bayleybay_fsp/mainboard.c1
-rw-r--r--src/mainboard/intel/camelbackmountain_fsp/mainboard.c1
-rw-r--r--src/mainboard/intel/emeraldlake2/mainboard.c1
-rw-r--r--src/mainboard/intel/wtm2/mainboard.c1
-rw-r--r--src/mainboard/kontron/ktqm77/mainboard.c1
-rw-r--r--src/mainboard/samsung/lumpy/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_bdx1/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_tcu3/mainboard.c1
-rw-r--r--src/security/vboot/vboot_common.c1
-rw-r--r--src/soc/nvidia/tegra210/mtc.c1
34 files changed, 9 insertions, 28 deletions
diff --git a/src/device/oprom/yabel/vbe.c b/src/device/oprom/yabel/vbe.c
index 9a7fa045c7..a3d736fa93 100644
--- a/src/device/oprom/yabel/vbe.c
+++ b/src/device/oprom/yabel/vbe.c
@@ -32,6 +32,7 @@
* IBM Corporation - initial implementation
*****************************************************************************/
+#include <boot/coreboot_tables.h>
#include <string.h>
#include <types.h>
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index e4762e93fe..f49b72cdfa 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -15,7 +15,6 @@
#include <edid.h>
#include <stdlib.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index 1d4db8e603..c36ce2f47f 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <edid.h>
#include <stdlib.h>
-#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/intel/fsp2_0/graphics.c b/src/drivers/intel/fsp2_0/graphics.c
index 2bafbd69ba..be7afdb084 100644
--- a/src/drivers/intel/fsp2_0/graphics.c
+++ b/src/drivers/intel/fsp2_0/graphics.c
@@ -12,6 +12,7 @@
* GNU General Public License for more details.
*/
+#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <fsp/util.h>
#include <soc/intel/common/vbt.h>
diff --git a/src/drivers/intel/gma/intel_ddi.c b/src/drivers/intel/gma/intel_ddi.c
index 9e9bd9727c..563f01bee6 100644
--- a/src/drivers/intel/gma/intel_ddi.c
+++ b/src/drivers/intel/gma/intel_ddi.c
@@ -32,7 +32,6 @@
#include <device/pci_def.h>
#include <console/console.h>
#include <arch/acpi.h>
-#include <boot/coreboot_tables.h>
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
diff --git a/src/drivers/pc80/rtc/mc146818rtc.c b/src/drivers/pc80/rtc/mc146818rtc.c
index abf8b2556f..6edffe0cd0 100644
--- a/src/drivers/pc80/rtc/mc146818rtc.c
+++ b/src/drivers/pc80/rtc/mc146818rtc.c
@@ -18,7 +18,6 @@
#include <version.h>
#include <console/console.h>
#include <pc80/mc146818rtc.h>
-#include <boot/coreboot_tables.h>
#include <rtc.h>
#include <string.h>
#include <cbfs.h>
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index cdaa5b3557..88867fd54c 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -15,6 +15,7 @@
#include <arch/early_variables.h>
#include <assert.h>
#include <boot_device.h>
+#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <stdlib.h>
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c
index 0c5d7b5f33..f6b4040807 100644
--- a/src/drivers/uart/oxpcie_early.c
+++ b/src/drivers/uart/oxpcie_early.c
@@ -15,7 +15,6 @@
#include <stddef.h>
#include <device/pci_ops.h>
#include <arch/early_variables.h>
-#include <boot/coreboot_tables.h>
#include <console/uart.h>
#include <device/pci.h>
#include <device/pci_def.h>
diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h
index 5ebbdd4b9d..a850087260 100644
--- a/src/drivers/xgi/common/xgi_coreboot.h
+++ b/src/drivers/xgi/common/xgi_coreboot.h
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <arch/io.h>
+#include <boot/coreboot_tables.h>
#include <delay.h>
#include <device/mmio.h>
#include <console/console.h>
diff --git a/src/include/boot/tables.h b/src/include/boot/tables.h
index 9e82e3f6c8..b440c8bbc4 100644
--- a/src/include/boot/tables.h
+++ b/src/include/boot/tables.h
@@ -1,7 +1,7 @@
#ifndef BOOT_TABLES_H
#define BOOT_TABLES_H
-#include <boot/coreboot_tables.h>
+#include <stdint.h>
/*
* Write architecture specific tables as well as the common
diff --git a/src/include/vbe.h b/src/include/vbe.h
index cfae7e4025..9497ec68ae 100644
--- a/src/include/vbe.h
+++ b/src/include/vbe.h
@@ -13,7 +13,8 @@
#ifndef VBE_H
#define VBE_H
-#include <boot/coreboot_tables.h>
+#include <stdint.h>
+
// these structs are for input from and output to OF
typedef struct {
u8 display_type; // 0 = NONE, 1 = analog, 2 = digital
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 964dce260e..fd7f5ba252 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -36,7 +36,6 @@
#include <string.h>
#include <stdlib.h>
#include <edid.h>
-#include <boot/coreboot_tables.h>
#include <vbe.h>
struct edid_context {
diff --git a/src/lib/imd_cbmem.c b/src/lib/imd_cbmem.c
index f04e0862fe..be135c22e8 100644
--- a/src/lib/imd_cbmem.c
+++ b/src/lib/imd_cbmem.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <boot/coreboot_tables.h>
#include <bootstate.h>
#include <bootmem.h>
#include <console/console.h>
diff --git a/src/mainboard/emulation/spike-riscv/uart.c b/src/mainboard/emulation/spike-riscv/uart.c
index eeb0b5798a..b44c7b3496 100644
--- a/src/mainboard/emulation/spike-riscv/uart.c
+++ b/src/mainboard/emulation/spike-riscv/uart.c
@@ -15,7 +15,6 @@
#include <types.h>
#include <console/uart.h>
-#include <boot/coreboot_tables.h>
uintptr_t uart_platform_base(int idx)
{
diff --git a/src/mainboard/google/beltino/mainboard.c b/src/mainboard/google/beltino/mainboard.c
index f193d83de9..e6cc01f01e 100644
--- a/src/mainboard/google/beltino/mainboard.c
+++ b/src/mainboard/google/beltino/mainboard.c
@@ -17,7 +17,6 @@
#include <types.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <southbridge/intel/lynxpoint/pch.h>
diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c
index 067ea4ef94..b5f96b4145 100644
--- a/src/mainboard/google/butterfly/mainboard.c
+++ b/src/mainboard/google/butterfly/mainboard.c
@@ -24,7 +24,6 @@
#include <fmap.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
diff --git a/src/mainboard/google/foster/mainboard.c b/src/mainboard/google/foster/mainboard.c
index daddf5c04f..14de42ef36 100644
--- a/src/mainboard/google/foster/mainboard.c
+++ b/src/mainboard/google/foster/mainboard.c
@@ -15,7 +15,6 @@
*/
#include <arch/mmu.h>
-#include <boot/coreboot_tables.h>
#include <device/device.h>
#include <memrange.h>
#include <soc/addressmap.h>
diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c
index 37d1a672cd..a91930bd7f 100644
--- a/src/mainboard/google/link/mainboard.c
+++ b/src/mainboard/google/link/mainboard.c
@@ -25,7 +25,6 @@
#include <arch/acpi.h>
#include <arch/io.h>
#include <arch/interrupt.h>
-#include <boot/coreboot_tables.h>
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index 916632e27b..421826cdeb 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -15,7 +15,6 @@
#include <arch/cache.h>
#include <boardid.h>
-#include <boot/coreboot_tables.h>
#include <bootmode.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c
index 5f6b09d7be..361215a1bd 100644
--- a/src/mainboard/google/parrot/mainboard.c
+++ b/src/mainboard/google/parrot/mainboard.c
@@ -20,7 +20,6 @@
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
diff --git a/src/mainboard/google/rambi/mainboard.c b/src/mainboard/google/rambi/mainboard.c
index 30be5f79ca..64dc99f005 100644
--- a/src/mainboard/google/rambi/mainboard.c
+++ b/src/mainboard/google/rambi/mainboard.c
@@ -23,7 +23,6 @@
#endif
#include <arch/acpi.h>
#include <arch/interrupt.h>
-#include <boot/coreboot_tables.h>
#include <smbios.h>
#include "ec.h"
#include <variant/onboard.h>
diff --git a/src/mainboard/google/slippy/mainboard.c b/src/mainboard/google/slippy/mainboard.c
index cf025d1740..4c50ea65a6 100644
--- a/src/mainboard/google/slippy/mainboard.c
+++ b/src/mainboard/google/slippy/mainboard.c
@@ -21,7 +21,6 @@
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "ec.h"
diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c
index ac356027f5..782546a54d 100644
--- a/src/mainboard/google/stout/mainboard.c
+++ b/src/mainboard/google/stout/mainboard.c
@@ -20,7 +20,6 @@
#include <device/pci_ops.h>
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
-#include <boot/coreboot_tables.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <device/pci.h>
#include <ec/quanta/it8518/ec.h>
diff --git a/src/mainboard/intel/baskingridge/mainboard.c b/src/mainboard/intel/baskingridge/mainboard.c
index e0fa7eb714..37af13f8da 100644
--- a/src/mainboard/intel/baskingridge/mainboard.c
+++ b/src/mainboard/intel/baskingridge/mainboard.c
@@ -20,7 +20,6 @@
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
diff --git a/src/mainboard/intel/bayleybay_fsp/mainboard.c b/src/mainboard/intel/bayleybay_fsp/mainboard.c
index 2ffb137469..f6ba0355ee 100644
--- a/src/mainboard/intel/bayleybay_fsp/mainboard.c
+++ b/src/mainboard/intel/bayleybay_fsp/mainboard.c
@@ -20,7 +20,6 @@
#if CONFIG(VGA_ROM_RUN)
#include <x86emu/x86emu.h>
#endif
-#include <boot/coreboot_tables.h>
/*
* mainboard_enable is executed as first thing after enumerate_buses().
diff --git a/src/mainboard/intel/camelbackmountain_fsp/mainboard.c b/src/mainboard/intel/camelbackmountain_fsp/mainboard.c
index e497bdbdc9..29f98f46c0 100644
--- a/src/mainboard/intel/camelbackmountain_fsp/mainboard.c
+++ b/src/mainboard/intel/camelbackmountain_fsp/mainboard.c
@@ -20,7 +20,6 @@
#if CONFIG(VGA_ROM_RUN)
#include <x86emu/x86emu.h>
#endif
-#include <boot/coreboot_tables.h>
/*
* mainboard_enable is executed as first thing after enumerate_buses().
diff --git a/src/mainboard/intel/emeraldlake2/mainboard.c b/src/mainboard/intel/emeraldlake2/mainboard.c
index 5a64e07d99..210588c93c 100644
--- a/src/mainboard/intel/emeraldlake2/mainboard.c
+++ b/src/mainboard/intel/emeraldlake2/mainboard.c
@@ -19,7 +19,6 @@
#include <device/pci_def.h>
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
-#include <boot/coreboot_tables.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
diff --git a/src/mainboard/intel/wtm2/mainboard.c b/src/mainboard/intel/wtm2/mainboard.c
index 0e9217daec..ce16815327 100644
--- a/src/mainboard/intel/wtm2/mainboard.c
+++ b/src/mainboard/intel/wtm2/mainboard.c
@@ -20,7 +20,6 @@
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
#include <arch/io.h>
-#include <boot/coreboot_tables.h>
#include <vendorcode/google/chromeos/chromeos.h>
void mainboard_suspend_resume(void)
diff --git a/src/mainboard/kontron/ktqm77/mainboard.c b/src/mainboard/kontron/ktqm77/mainboard.c
index 675cb05003..ee83b1bcd4 100644
--- a/src/mainboard/kontron/ktqm77/mainboard.c
+++ b/src/mainboard/kontron/ktqm77/mainboard.c
@@ -24,7 +24,6 @@
#endif
#include <pc80/mc146818rtc.h>
#include <arch/interrupt.h>
-#include <boot/coreboot_tables.h>
#include <southbridge/intel/bd82x6x/pch.h>
#if CONFIG(VGA_ROM_RUN)
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index f793963fd4..c64a51b7cb 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -20,7 +20,6 @@
#include <device/pci_def.h>
#include <drivers/intel/gma/int15.h>
#include <arch/acpi.h>
-#include <boot/coreboot_tables.h>
#include <ec/smsc/mec1308/ec.h>
#include "ec.h"
#include "onboard.h"
diff --git a/src/mainboard/siemens/mc_bdx1/mainboard.c b/src/mainboard/siemens/mc_bdx1/mainboard.c
index 5cef53ce2a..4f9c8406c6 100644
--- a/src/mainboard/siemens/mc_bdx1/mainboard.c
+++ b/src/mainboard/siemens/mc_bdx1/mainboard.c
@@ -27,7 +27,6 @@
#include <x86emu/x86emu.h>
#endif
#include <device/mmio.h>
-#include <boot/coreboot_tables.h>
#include <hwilib.h>
#include <i210.h>
#include <soc/pci_devs.h>
diff --git a/src/mainboard/siemens/mc_tcu3/mainboard.c b/src/mainboard/siemens/mc_tcu3/mainboard.c
index e77c0b1e29..955193fec2 100644
--- a/src/mainboard/siemens/mc_tcu3/mainboard.c
+++ b/src/mainboard/siemens/mc_tcu3/mainboard.c
@@ -21,7 +21,6 @@
#if CONFIG(VGA_ROM_RUN)
#include <x86emu/x86emu.h>
#endif
-#include <boot/coreboot_tables.h>
#include <hwilib.h>
#include <i210.h>
#include "lcd_panel.h"
diff --git a/src/security/vboot/vboot_common.c b/src/security/vboot/vboot_common.c
index cbd7a2ee23..2d35c6be05 100644
--- a/src/security/vboot/vboot_common.c
+++ b/src/security/vboot/vboot_common.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <boot/coreboot_tables.h>
#include <boot_device.h>
#include <cbmem.h>
#include <console/cbmem_console.h>
diff --git a/src/soc/nvidia/tegra210/mtc.c b/src/soc/nvidia/tegra210/mtc.c
index 97eb3dee14..2973518441 100644
--- a/src/soc/nvidia/tegra210/mtc.c
+++ b/src/soc/nvidia/tegra210/mtc.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <boot/coreboot_tables.h>
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>