tree: remove duplicated includes
Change-Id: Iaf10e1b9fb8ce51605a75ec0a92ee33924c42aa6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86330 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jayvik Desai <jayvik@google.com> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
This commit is contained in:
parent
77fed6f508
commit
c247f62749
11 changed files with 1 additions and 16 deletions
|
|
@ -10,7 +10,6 @@
|
|||
#ifdef __COREBOOT__
|
||||
#include <console/console.h>
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#define printk(level, ...) printf(__VA_ARGS__)
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
#include <cbfs.h>
|
||||
#include <device/device.h>
|
||||
#include <commonlib/device_tree.h>
|
||||
#include <bootmem.h>
|
||||
#include <arch/mmu.h>
|
||||
#include <mainboard/addressmap.h>
|
||||
#include <stdint.h>
|
||||
#include <symbols.h>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <fw_config.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/power_limit.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/dram/ddr3.h>
|
||||
#include <northbridge/intel/haswell/chip.h>
|
||||
#include <northbridge/intel/haswell/haswell.h>
|
||||
#include <northbridge/intel/haswell/raminit.h>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <device/device.h>
|
||||
#include <drivers/amd/opensil/opensil.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/southbridge.h>
|
||||
|
||||
static void soc_init(void *chip_info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/device.h>
|
||||
#include <amdblocks/chip.h>
|
||||
#include <device/device.h>
|
||||
#include <static.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
#include <amdblocks/chip.h>
|
||||
#include <amdblocks/cpu.h>
|
||||
#include <amdblocks/ioapic.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include "chip.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/intel/em64t100_save_state.h>
|
||||
#include <cpu/intel/microcode.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#if defined(__SIMPLE_DEVICE__)
|
||||
#define SA_DEV_ROOT PCI_DEV(0, SA_DEV_SLOT_ROOT, 0)
|
||||
#else
|
||||
#include <device/device.h>
|
||||
#define SA_DEV_ROOT pcidev_path_on_root(PCI_DEVFN(SA_DEV_SLOT_ROOT, 0))
|
||||
#endif
|
||||
#define SA_DEV 0x0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/pci_ops.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <cpu/intel/cpu_ids.h>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include <string.h>
|
||||
#include <getopt.h>
|
||||
#include <commonlib/bsd/helpers.h>
|
||||
#include <sys/types.h>
|
||||
#if defined(__linux__)
|
||||
#include <sys/io.h>
|
||||
#endif
|
||||
|
|
@ -25,11 +26,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#include <sys/types.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#define OUTB(x, y) do { u_int tmp = (y); outb(tmp, (x)); } while (0)
|
||||
#define OUTW(x, y) do { u_int tmp = (y); outw(tmp, (x)); } while (0)
|
||||
|
|
@ -47,7 +44,6 @@
|
|||
#endif
|
||||
|
||||
#if defined(__NetBSD__) && (defined(__i386__) || defined(__x86_64__))
|
||||
#include <sys/types.h>
|
||||
#include <machine/sysarch.h>
|
||||
#if defined(__i386__)
|
||||
#define iopl i386_iopl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue