src: Use 'include <boot/coreboot_tables.h>' when appropriate

Change-Id: I3d90e46ed391ce323436750c866a0afc3879e2e6
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36359
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-10-26 18:41:47 +02:00 committed by Martin Roth
parent 7385b656c2
commit 0edf6a59f8
34 changed files with 9 additions and 28 deletions

View File

@ -32,6 +32,7 @@
* IBM Corporation - initial implementation
*****************************************************************************/
#include <boot/coreboot_tables.h>
#include <string.h>
#include <types.h>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -36,7 +36,6 @@
#include <string.h>
#include <stdlib.h>
#include <edid.h>
#include <boot/coreboot_tables.h>
#include <vbe.h>
struct edid_context {

View File

@ -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>

View File

@ -15,7 +15,6 @@
#include <types.h>
#include <console/uart.h>
#include <boot/coreboot_tables.h>
uintptr_t uart_platform_base(int idx)
{

View File

@ -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>

View File

@ -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>

View File

@ -15,7 +15,6 @@
*/
#include <arch/mmu.h>
#include <boot/coreboot_tables.h>
#include <device/device.h>
#include <memrange.h>
#include <soc/addressmap.h>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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().

View File

@ -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().

View File

@ -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>

View File

@ -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)

View File

@ -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)

View File

@ -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"

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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>