HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37521 )
Change subject: src/soc: Remove unuse '#include <device/pci.h>' ......................................................................
src/soc: Remove unuse '#include <device/pci.h>'
Change-Id: I5bdbefba59866a89e5380ffcad4695b31071c8a7 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/amd/picasso/acpi.c M src/soc/amd/picasso/chip.c M src/soc/amd/picasso/sata.c M src/soc/amd/picasso/southbridge.c M src/soc/amd/stoneyridge/acpi.c M src/soc/amd/stoneyridge/chip.c M src/soc/amd/stoneyridge/sata.c M src/soc/amd/stoneyridge/southbridge.c M src/soc/cavium/cn81xx/sdram.c M src/soc/cavium/cn81xx/soc.c M src/soc/cavium/common/ecam.c M src/soc/intel/apollolake/bootblock/bootblock.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cpu.c M src/soc/intel/apollolake/lpc.c M src/soc/intel/apollolake/pmc.c M src/soc/intel/apollolake/pmutil.c M src/soc/intel/apollolake/xdci.c M src/soc/intel/baytrail/elog.c M src/soc/intel/baytrail/gpio.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/scc.c M src/soc/intel/baytrail/smm.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/elog.c M src/soc/intel/braswell/gpio.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/scc.c M src/soc/intel/braswell/smm.c M src/soc/intel/broadwell/cpu.c M src/soc/intel/broadwell/gpio.c M src/soc/intel/broadwell/me_status.c M src/soc/intel/broadwell/memmap.c M src/soc/intel/broadwell/pch.c M src/soc/intel/broadwell/pmutil.c M src/soc/intel/broadwell/romstage/power_state.c M src/soc/intel/broadwell/romstage/report_platform.c M src/soc/intel/broadwell/smbus_common.c M src/soc/intel/broadwell/smi.c M src/soc/intel/broadwell/smmrelocate.c M src/soc/intel/cannonlake/bootblock/report_platform.c M src/soc/intel/cannonlake/chip.c M src/soc/intel/cannonlake/cpu.c M src/soc/intel/cannonlake/finalize.c M src/soc/intel/cannonlake/fsp_params.c M src/soc/intel/cannonlake/lpc.c M src/soc/intel/cannonlake/me.c M src/soc/intel/cannonlake/pmutil.c M src/soc/intel/cannonlake/smmrelocate.c M src/soc/intel/cannonlake/systemagent.c M src/soc/intel/common/block/include/intelblocks/imc.h M src/soc/intel/common/block/lpc/lpc_lib.c M src/soc/intel/common/block/scs/early_mmc.c M src/soc/intel/common/block/smbus/tco.c M src/soc/intel/common/block/systemagent/systemagent_early.c M src/soc/intel/denverton_ns/acpi.c M src/soc/intel/denverton_ns/bootblock/bootblock.c M src/soc/intel/denverton_ns/cpu.c M src/soc/intel/denverton_ns/gpio_dnv.c M src/soc/intel/denverton_ns/smm.c M src/soc/intel/denverton_ns/soc_util.c M src/soc/intel/icelake/bootblock/report_platform.c M src/soc/intel/icelake/chip.c M src/soc/intel/icelake/cpu.c M src/soc/intel/icelake/espi.c M src/soc/intel/icelake/finalize.c M src/soc/intel/icelake/fsp_params.c M src/soc/intel/icelake/pmutil.c M src/soc/intel/icelake/smmrelocate.c M src/soc/intel/icelake/systemagent.c M src/soc/intel/quark/i2c.c M src/soc/intel/quark/include/soc/pci_devs.h M src/soc/intel/quark/include/soc/storage_test.h M src/soc/intel/quark/romstage/report_platform.c M src/soc/intel/skylake/bootblock/report_platform.c M src/soc/intel/skylake/cpu.c M src/soc/intel/skylake/finalize.c M src/soc/intel/skylake/irq.c M src/soc/intel/skylake/lpc.c M src/soc/intel/skylake/me.c M src/soc/intel/skylake/pmutil.c M src/soc/intel/skylake/smmrelocate.c M src/soc/intel/tigerlake/bootblock/report_platform.c M src/soc/intel/tigerlake/chip.c M src/soc/intel/tigerlake/cpu.c M src/soc/intel/tigerlake/espi.c M src/soc/intel/tigerlake/finalize.c M src/soc/intel/tigerlake/pmutil.c M src/soc/intel/tigerlake/smmrelocate.c M src/soc/intel/tigerlake/systemagent.c 90 files changed, 0 insertions(+), 90 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/37521/1
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c index 7b70ec6..4534f6a 100644 --- a/src/soc/amd/picasso/acpi.c +++ b/src/soc/amd/picasso/acpi.c @@ -27,7 +27,6 @@ #include <cpu/x86/smm.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <amdblocks/acpimmio.h> #include <amdblocks/acpi.h> #include <soc/acpi.h> diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c index cf02030..6c05a56 100644 --- a/src/soc/amd/picasso/chip.c +++ b/src/soc/amd/picasso/chip.c @@ -16,7 +16,6 @@ #include <bootstate.h> #include <cpu/amd/mtrr.h> #include <device/device.h> -#include <device/pci.h> #include <drivers/i2c/designware/dw_i2c.h> #include <romstage_handoff.h> #include <soc/acpi.h> diff --git a/src/soc/amd/picasso/sata.c b/src/soc/amd/picasso/sata.c index d67f5b4..3d2571d 100644 --- a/src/soc/amd/picasso/sata.c +++ b/src/soc/amd/picasso/sata.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <amdblocks/sata.h> diff --git a/src/soc/amd/picasso/southbridge.c b/src/soc/amd/picasso/southbridge.c index 0dff4bc..757656e 100644 --- a/src/soc/amd/picasso/southbridge.c +++ b/src/soc/amd/picasso/southbridge.c @@ -19,7 +19,6 @@ #include <cpu/x86/smm.h> #include <cpu/x86/msr.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cbmem.h> #include <amdblocks/amd_pci_util.h> diff --git a/src/soc/amd/stoneyridge/acpi.c b/src/soc/amd/stoneyridge/acpi.c index 13020ed..2cd4519 100644 --- a/src/soc/amd/stoneyridge/acpi.c +++ b/src/soc/amd/stoneyridge/acpi.c @@ -27,7 +27,6 @@ #include <cpu/x86/smm.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <amdblocks/acpimmio.h> #include <amdblocks/acpi.h> #include <soc/acpi.h> diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c index 7221f95..ca2f3c3 100644 --- a/src/soc/amd/stoneyridge/chip.c +++ b/src/soc/amd/stoneyridge/chip.c @@ -17,7 +17,6 @@ #include <console/console.h> #include <cpu/amd/mtrr.h> #include <device/device.h> -#include <device/pci.h> #include <drivers/i2c/designware/dw_i2c.h> #include <romstage_handoff.h> #include <soc/acpi.h> diff --git a/src/soc/amd/stoneyridge/sata.c b/src/soc/amd/stoneyridge/sata.c index d67f5b4..3d2571d 100644 --- a/src/soc/amd/stoneyridge/sata.c +++ b/src/soc/amd/stoneyridge/sata.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <amdblocks/sata.h> diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c index 1b2afec..1c10339 100644 --- a/src/soc/amd/stoneyridge/southbridge.c +++ b/src/soc/amd/stoneyridge/southbridge.c @@ -18,7 +18,6 @@ #include <bootstate.h> #include <cpu/x86/smm.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cbmem.h> #include <amdblocks/amd_pci_util.h> diff --git a/src/soc/cavium/cn81xx/sdram.c b/src/soc/cavium/cn81xx/sdram.c index 71d6b48..1142a8a 100644 --- a/src/soc/cavium/cn81xx/sdram.c +++ b/src/soc/cavium/cn81xx/sdram.c @@ -32,7 +32,6 @@ #include <soc/ecam.h> #include <device/pci_ops.h> #include <device/mmio.h> -#include <device/pci.h>
size_t sdram_size_mb(void) { diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c index 8abb328..64177b9 100644 --- a/src/soc/cavium/cn81xx/soc.c +++ b/src/soc/cavium/cn81xx/soc.c @@ -32,7 +32,6 @@ #include <soc/ecam0.h> #include <console/uart.h> #include <libbdk-hal/bdk-pcie.h> -#include <device/pci.h> #include <libbdk-hal/bdk-qlm.h> #include <libbdk-hal/bdk-config.h> #include <libbdk-arch/bdk-csrs-bgx.h> diff --git a/src/soc/cavium/common/ecam.c b/src/soc/cavium/common/ecam.c index 89c69db..a3fc94c 100644 --- a/src/soc/cavium/common/ecam.c +++ b/src/soc/cavium/common/ecam.c @@ -21,7 +21,6 @@
#include <device/pci_ops.h> #include <device/pci_def.h> -#include <device/pci.h> #include <soc/addressmap.h> #include <soc/ecam.h>
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c index a07c462..8a51224 100644 --- a/src/soc/intel/apollolake/bootblock/bootblock.c +++ b/src/soc/intel/apollolake/bootblock/bootblock.c @@ -17,7 +17,6 @@
#include <bootblock_common.h> #include <cpu/x86/pae.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <intelblocks/cpulib.h> #include <intelblocks/fast_spi.h> diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 6c195bb..f41c123 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -25,7 +25,6 @@ #include <cpu/x86/msr.h> #include <device/mmio.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <intelblocks/acpi.h> #include <intelblocks/cfg.h> diff --git a/src/soc/intel/apollolake/cpu.c b/src/soc/intel/apollolake/cpu.c index 0b9466c..1da53eb 100644 --- a/src/soc/intel/apollolake/cpu.c +++ b/src/soc/intel/apollolake/cpu.c @@ -33,7 +33,6 @@ #include <cpu/intel/em64t100_save_state.h> #include <cpu/intel/smm_reloc.h> #include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <intelblocks/cpulib.h> #include <intelblocks/fast_spi.h> diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c index 636dd03..660157c 100644 --- a/src/soc/intel/apollolake/lpc.c +++ b/src/soc/intel/apollolake/lpc.c @@ -14,7 +14,6 @@ * GNU General Public License for more details. */
-#include <device/pci.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/rtc.h> #include <soc/gpio.h> diff --git a/src/soc/intel/apollolake/pmc.c b/src/soc/intel/apollolake/pmc.c index 286cd8a..1d59766 100644 --- a/src/soc/intel/apollolake/pmc.c +++ b/src/soc/intel/apollolake/pmc.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <device/mmio.h> #include <device/device.h> -#include <device/pci.h> #include <intelblocks/pmc.h> #include <intelblocks/pmclib.h> #include <soc/iomap.h> diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c index 559adad..715b922 100644 --- a/src/soc/intel/apollolake/pmutil.c +++ b/src/soc/intel/apollolake/pmutil.c @@ -24,7 +24,6 @@ #include <console/console.h> #include <cpu/x86/msr.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <intelblocks/msr.h> #include <intelblocks/pmclib.h> diff --git a/src/soc/intel/apollolake/xdci.c b/src/soc/intel/apollolake/xdci.c index 0a85f26..e918f15 100644 --- a/src/soc/intel/apollolake/xdci.c +++ b/src/soc/intel/apollolake/xdci.c @@ -16,7 +16,6 @@ #include <device/mmio.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <intelblocks/xdci.h> #include <soc/pci_devs.h> #include <timer.h> diff --git a/src/soc/intel/baytrail/elog.c b/src/soc/intel/baytrail/elog.c index d7a0460..18708a9 100644 --- a/src/soc/intel/baytrail/elog.c +++ b/src/soc/intel/baytrail/elog.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <elog.h> #include <soc/iomap.h> #include <soc/pmc.h> diff --git a/src/soc/intel/baytrail/gpio.c b/src/soc/intel/baytrail/gpio.c index 3460a5f..fcc89c2 100644 --- a/src/soc/intel/baytrail/gpio.c +++ b/src/soc/intel/baytrail/gpio.c @@ -15,7 +15,6 @@
#include <arch/io.h> #include <device/mmio.h> -#include <device/pci.h> #include <console/console.h> #include <soc/gpio.h> #include <soc/pmc.h> diff --git a/src/soc/intel/baytrail/pmutil.c b/src/soc/intel/baytrail/pmutil.c index 51174fc..b4b06f3 100644 --- a/src/soc/intel/baytrail/pmutil.c +++ b/src/soc/intel/baytrail/pmutil.c @@ -18,7 +18,6 @@ #include <arch/io.h> #include <device/device.h> #include <device/mmio.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/baytrail/scc.c b/src/soc/intel/baytrail/scc.c index a6b4fe3..c56c042 100644 --- a/src/soc/intel/baytrail/scc.c +++ b/src/soc/intel/baytrail/scc.c @@ -17,7 +17,6 @@ #include <cbmem.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <reg_script.h>
#include <soc/iosf.h> diff --git a/src/soc/intel/baytrail/smm.c b/src/soc/intel/baytrail/smm.c index 9f10f70..0aa6f23 100644 --- a/src/soc/intel/baytrail/smm.c +++ b/src/soc/intel/baytrail/smm.c @@ -15,7 +15,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <console/console.h> #include <arch/io.h> #include <device/mmio.h> diff --git a/src/soc/intel/braswell/acpi.c b/src/soc/intel/braswell/acpi.c index f68b7ce..33720b4 100644 --- a/src/soc/intel/braswell/acpi.c +++ b/src/soc/intel/braswell/acpi.c @@ -26,7 +26,6 @@ #include <cpu/x86/msr.h> #include <cpu/x86/smm.h> #include <cpu/x86/tsc.h> -#include <device/pci.h> #include <ec/google/chromeec/ec.h> #include <drivers/intel/gma/opregion.h> #include <soc/acpi.h> diff --git a/src/soc/intel/braswell/elog.c b/src/soc/intel/braswell/elog.c index 6efcef1..7a82725 100644 --- a/src/soc/intel/braswell/elog.c +++ b/src/soc/intel/braswell/elog.c @@ -19,7 +19,6 @@ #include <cbmem.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <elog.h> #include <soc/iomap.h> #include <soc/pm.h> diff --git a/src/soc/intel/braswell/gpio.c b/src/soc/intel/braswell/gpio.c index 14f95e1..d22e04e 100644 --- a/src/soc/intel/braswell/gpio.c +++ b/src/soc/intel/braswell/gpio.c @@ -17,7 +17,6 @@ #include <console/console.h> #include <arch/io.h> #include <device/mmio.h> -#include <device/pci.h> #include <soc/gpio.h> #include <soc/pm.h> #include <soc/smm.h> diff --git a/src/soc/intel/braswell/pmutil.c b/src/soc/intel/braswell/pmutil.c index 18cb04d..11930d6 100644 --- a/src/soc/intel/braswell/pmutil.c +++ b/src/soc/intel/braswell/pmutil.c @@ -19,7 +19,6 @@ #include <assert.h> #include <device/device.h> #include <device/mmio.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <console/console.h> #include <soc/iomap.h> diff --git a/src/soc/intel/braswell/scc.c b/src/soc/intel/braswell/scc.c index 5c874e1..08f4831 100644 --- a/src/soc/intel/braswell/scc.c +++ b/src/soc/intel/braswell/scc.c @@ -18,7 +18,6 @@ #include <cbmem.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <soc/iosf.h> #include <soc/nvs.h> #include <soc/ramstage.h> diff --git a/src/soc/intel/braswell/smm.c b/src/soc/intel/braswell/smm.c index c108a36..2f6610c 100644 --- a/src/soc/intel/braswell/smm.c +++ b/src/soc/intel/braswell/smm.c @@ -21,7 +21,6 @@ #include <cpu/x86/smm.h> #include <cpu/intel/smm_reloc.h> #include <device/device.h> -#include <device/pci.h> #include <soc/iomap.h> #include <soc/pm.h> #include <soc/smm.h> diff --git a/src/soc/intel/broadwell/cpu.c b/src/soc/intel/broadwell/cpu.c index 287b5b5..4863411 100644 --- a/src/soc/intel/broadwell/cpu.c +++ b/src/soc/intel/broadwell/cpu.c @@ -16,7 +16,6 @@
#include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <arch/cpu.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> diff --git a/src/soc/intel/broadwell/gpio.c b/src/soc/intel/broadwell/gpio.c index 81ad9d4..2831f85 100644 --- a/src/soc/intel/broadwell/gpio.c +++ b/src/soc/intel/broadwell/gpio.c @@ -16,7 +16,6 @@ #include <stdint.h> #include <arch/io.h> #include <device/device.h> -#include <device/pci.h> #include <soc/gpio.h> #include <soc/iomap.h> #include <soc/pm.h> diff --git a/src/soc/intel/broadwell/me_status.c b/src/soc/intel/broadwell/me_status.c index d89f108..d494d71 100644 --- a/src/soc/intel/broadwell/me_status.c +++ b/src/soc/intel/broadwell/me_status.c @@ -15,7 +15,6 @@
#include <device/pci_ops.h> #include <console/console.h> -#include <device/pci.h> #include <string.h> #include <soc/pci_devs.h> #include <soc/me.h> diff --git a/src/soc/intel/broadwell/memmap.c b/src/soc/intel/broadwell/memmap.c index 48492d3..837347c 100644 --- a/src/soc/intel/broadwell/memmap.c +++ b/src/soc/intel/broadwell/memmap.c @@ -17,7 +17,6 @@
#include <cbmem.h> #include <cpu/x86/smm.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <soc/pci_devs.h> #include <soc/systemagent.h> diff --git a/src/soc/intel/broadwell/pch.c b/src/soc/intel/broadwell/pch.c index e6c2319..74536c9 100644 --- a/src/soc/intel/broadwell/pch.c +++ b/src/soc/intel/broadwell/pch.c @@ -17,7 +17,6 @@ #include <console/console.h> #include <device/pci_ops.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <soc/iobp.h> #include <soc/pch.h> diff --git a/src/soc/intel/broadwell/pmutil.c b/src/soc/intel/broadwell/pmutil.c index 00db615..5857cec 100644 --- a/src/soc/intel/broadwell/pmutil.c +++ b/src/soc/intel/broadwell/pmutil.c @@ -22,7 +22,6 @@ #include <arch/io.h> #include <device/pci_ops.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <console/console.h> #include <soc/iomap.h> diff --git a/src/soc/intel/broadwell/romstage/power_state.c b/src/soc/intel/broadwell/romstage/power_state.c index 1970c31..09ca8c0a 100644 --- a/src/soc/intel/broadwell/romstage/power_state.c +++ b/src/soc/intel/broadwell/romstage/power_state.c @@ -18,7 +18,6 @@ #include <cbmem.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <reg_script.h> #include <stdint.h> diff --git a/src/soc/intel/broadwell/romstage/report_platform.c b/src/soc/intel/broadwell/romstage/report_platform.c index d60ed38..88be982 100644 --- a/src/soc/intel/broadwell/romstage/report_platform.c +++ b/src/soc/intel/broadwell/romstage/report_platform.c @@ -16,7 +16,6 @@ #include <arch/cpu.h> #include <device/pci_ops.h> #include <console/console.h> -#include <device/pci.h> #include <string.h> #include <cpu/x86/msr.h> #include <soc/cpu.h> diff --git a/src/soc/intel/broadwell/smbus_common.c b/src/soc/intel/broadwell/smbus_common.c index 99ed55b..b6270fc 100644 --- a/src/soc/intel/broadwell/smbus_common.c +++ b/src/soc/intel/broadwell/smbus_common.c @@ -20,7 +20,6 @@ #include <device/device.h> #include <device/path.h> #include <device/smbus_def.h> -#include <device/pci.h> #include <soc/ramstage.h> #include <soc/smbus.h>
diff --git a/src/soc/intel/broadwell/smi.c b/src/soc/intel/broadwell/smi.c index 2bdeecc..2342e37 100644 --- a/src/soc/intel/broadwell/smi.c +++ b/src/soc/intel/broadwell/smi.c @@ -15,7 +15,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <console/console.h> #include <arch/io.h> #include <cpu/x86/cache.h> diff --git a/src/soc/intel/broadwell/smmrelocate.c b/src/soc/intel/broadwell/smmrelocate.c index 7bf351a..c88b006 100644 --- a/src/soc/intel/broadwell/smmrelocate.c +++ b/src/soc/intel/broadwell/smmrelocate.c @@ -16,7 +16,6 @@ #include <types.h> #include <string.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/cannonlake/bootblock/report_platform.c b/src/soc/intel/cannonlake/bootblock/report_platform.c index 8d82385..64e396d 100644 --- a/src/soc/intel/cannonlake/bootblock/report_platform.c +++ b/src/soc/intel/cannonlake/bootblock/report_platform.c @@ -18,7 +18,6 @@ #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/msr.h> -#include <device/pci.h> #include <device/pci_ids.h> #include <intelblocks/mp_init.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c index 2bb1c92..129cf1c 100644 --- a/src/soc/intel/cannonlake/chip.c +++ b/src/soc/intel/cannonlake/chip.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> #include <intelblocks/acpi.h> diff --git a/src/soc/intel/cannonlake/cpu.c b/src/soc/intel/cannonlake/cpu.c index f01b499..6ec1afe 100644 --- a/src/soc/intel/cannonlake/cpu.c +++ b/src/soc/intel/cannonlake/cpu.c @@ -15,7 +15,6 @@
#include <arch/cpu.h> #include <console/console.h> -#include <device/pci.h> #include <cpu/x86/lapic.h> #include <cpu/x86/mp.h> #include <cpu/x86/msr.h> diff --git a/src/soc/intel/cannonlake/finalize.c b/src/soc/intel/cannonlake/finalize.c index 002e8ea..2f45d37 100644 --- a/src/soc/intel/cannonlake/finalize.c +++ b/src/soc/intel/cannonlake/finalize.c @@ -20,7 +20,6 @@ #include <console/console.h> #include <console/post_codes.h> #include <cpu/x86/smm.h> -#include <device/pci.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/pcr.h> #include <intelblocks/tco.h> diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c index dfc7e22..d4c3831 100644 --- a/src/soc/intel/cannonlake/fsp_params.c +++ b/src/soc/intel/cannonlake/fsp_params.c @@ -15,7 +15,6 @@
#include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> #include <intelblocks/lpss.h> diff --git a/src/soc/intel/cannonlake/lpc.c b/src/soc/intel/cannonlake/lpc.c index c4eb884..84f66b26 100644 --- a/src/soc/intel/cannonlake/lpc.c +++ b/src/soc/intel/cannonlake/lpc.c @@ -16,7 +16,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <pc80/isa-dma.h> #include <pc80/i8259.h> #include <arch/io.h> diff --git a/src/soc/intel/cannonlake/me.c b/src/soc/intel/cannonlake/me.c index 0414470..868b7c1 100644 --- a/src/soc/intel/cannonlake/me.c +++ b/src/soc/intel/cannonlake/me.c @@ -17,7 +17,6 @@ #include <bootstate.h> #include <commonlib/helpers.h> #include <console/console.h> -#include <device/pci.h> #include <intelblocks/cse.h> #include <soc/me.h> #include <soc/pci_devs.h> diff --git a/src/soc/intel/cannonlake/pmutil.c b/src/soc/intel/cannonlake/pmutil.c index aded9c0..e5cb8ed 100644 --- a/src/soc/intel/cannonlake/pmutil.c +++ b/src/soc/intel/cannonlake/pmutil.c @@ -24,7 +24,6 @@ #include <device/mmio.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <console/console.h> #include <intelblocks/pmclib.h> diff --git a/src/soc/intel/cannonlake/smmrelocate.c b/src/soc/intel/cannonlake/smmrelocate.c index e99a9a2..ff81fe1 100644 --- a/src/soc/intel/cannonlake/smmrelocate.c +++ b/src/soc/intel/cannonlake/smmrelocate.c @@ -17,7 +17,6 @@ #include <types.h> #include <string.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/cannonlake/systemagent.c b/src/soc/intel/cannonlake/systemagent.c index 3f01f14..e4d387b 100644 --- a/src/soc/intel/cannonlake/systemagent.c +++ b/src/soc/intel/cannonlake/systemagent.c @@ -17,7 +17,6 @@
#include <device/device.h> #include <delay.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <intelblocks/systemagent.h> #include <soc/cpu.h> diff --git a/src/soc/intel/common/block/include/intelblocks/imc.h b/src/soc/intel/common/block/include/intelblocks/imc.h index fc3c241..38564fb 100644 --- a/src/soc/intel/common/block/include/intelblocks/imc.h +++ b/src/soc/intel/common/block/include/intelblocks/imc.h @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <device/pci.h> #include <stdint.h>
#ifndef SOC_INTEL_COMMON_BLOCK_IMC_H diff --git a/src/soc/intel/common/block/lpc/lpc_lib.c b/src/soc/intel/common/block/lpc/lpc_lib.c index bc89e4c..badda2b 100644 --- a/src/soc/intel/common/block/lpc/lpc_lib.c +++ b/src/soc/intel/common/block/lpc/lpc_lib.c @@ -19,7 +19,6 @@
#include <assert.h> #include <console/console.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <intelblocks/lpc_lib.h> #include <lib.h> diff --git a/src/soc/intel/common/block/scs/early_mmc.c b/src/soc/intel/common/block/scs/early_mmc.c index 8036450..3285f6e 100644 --- a/src/soc/intel/common/block/scs/early_mmc.c +++ b/src/soc/intel/common/block/scs/early_mmc.c @@ -20,7 +20,6 @@ #include <commonlib/sdhci.h> #include <compiler.h> #include <console/console.h> -#include <device/pci.h> #include <intelblocks/mmc.h> #include <soc/iomap.h> #include <soc/pci_devs.h> diff --git a/src/soc/intel/common/block/smbus/tco.c b/src/soc/intel/common/block/smbus/tco.c index 1a215eb..b0ec217 100644 --- a/src/soc/intel/common/block/smbus/tco.c +++ b/src/soc/intel/common/block/smbus/tco.c @@ -16,7 +16,6 @@ #include <arch/io.h> #include <device/pci_ops.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <intelblocks/pcr.h> #include <intelblocks/tco.h> diff --git a/src/soc/intel/common/block/systemagent/systemagent_early.c b/src/soc/intel/common/block/systemagent/systemagent_early.c index d6f129d..846cd90 100644 --- a/src/soc/intel/common/block/systemagent/systemagent_early.c +++ b/src/soc/intel/common/block/systemagent/systemagent_early.c @@ -18,7 +18,6 @@ #include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> -#include <device/pci.h> #include <intelblocks/systemagent.h> #include <soc/iomap.h> #include <soc/pci_devs.h> diff --git a/src/soc/intel/denverton_ns/acpi.c b/src/soc/intel/denverton_ns/acpi.c index 163f76a..9552bb0 100644 --- a/src/soc/intel/denverton_ns/acpi.c +++ b/src/soc/intel/denverton_ns/acpi.c @@ -22,7 +22,6 @@ #include <arch/smp/mpspec.h> #include <cpu/x86/smm.h> #include <string.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/denverton_ns/bootblock/bootblock.c b/src/soc/intel/denverton_ns/bootblock/bootblock.c index 47c76b5..6612cfd 100644 --- a/src/soc/intel/denverton_ns/bootblock/bootblock.c +++ b/src/soc/intel/denverton_ns/bootblock/bootblock.c @@ -16,7 +16,6 @@
#include <bootblock_common.h> #include <cpu/x86/mtrr.h> -#include <device/pci.h> #include <FsptUpd.h> #include <intelblocks/fast_spi.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/denverton_ns/cpu.c b/src/soc/intel/denverton_ns/cpu.c index dd6f00e..56784ad 100644 --- a/src/soc/intel/denverton_ns/cpu.c +++ b/src/soc/intel/denverton_ns/cpu.c @@ -26,7 +26,6 @@ #include <cpu/intel/em64t100_save_state.h> #include <cpu/intel/turbo.h> #include <device/device.h> -#include <device/pci.h> #include <intelblocks/cpulib.h> #include <reg_script.h>
diff --git a/src/soc/intel/denverton_ns/gpio_dnv.c b/src/soc/intel/denverton_ns/gpio_dnv.c index b083768..c79d282 100644 --- a/src/soc/intel/denverton_ns/gpio_dnv.c +++ b/src/soc/intel/denverton_ns/gpio_dnv.c @@ -19,7 +19,6 @@ #include <device/mmio.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h>
#include <soc/iomap.h> #include <soc/pcr.h> diff --git a/src/soc/intel/denverton_ns/smm.c b/src/soc/intel/denverton_ns/smm.c index d05e76b..7326ab1 100644 --- a/src/soc/intel/denverton_ns/smm.c +++ b/src/soc/intel/denverton_ns/smm.c @@ -17,7 +17,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <console/console.h> #include <arch/io.h> #include <cpu/x86/smm.h> diff --git a/src/soc/intel/denverton_ns/soc_util.c b/src/soc/intel/denverton_ns/soc_util.c index ef95f7e..648a27c 100644 --- a/src/soc/intel/denverton_ns/soc_util.c +++ b/src/soc/intel/denverton_ns/soc_util.c @@ -17,7 +17,6 @@ #include <stdint.h> #include <device/mmio.h> #include <device/pci_ops.h> -#include <device/pci.h> #include <device/pci_def.h> #include <device/device.h> #include <string.h> diff --git a/src/soc/intel/icelake/bootblock/report_platform.c b/src/soc/intel/icelake/bootblock/report_platform.c index 660aab9..4202fd2 100644 --- a/src/soc/intel/icelake/bootblock/report_platform.c +++ b/src/soc/intel/icelake/bootblock/report_platform.c @@ -17,7 +17,6 @@ #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/msr.h> -#include <device/pci.h> #include <device/pci_ids.h> #include <intelblocks/mp_init.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/icelake/chip.c b/src/soc/intel/icelake/chip.c index 2bb908c..ca11be3 100644 --- a/src/soc/intel/icelake/chip.c +++ b/src/soc/intel/icelake/chip.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> #include <intelblocks/acpi.h> diff --git a/src/soc/intel/icelake/cpu.c b/src/soc/intel/icelake/cpu.c index e058442..b7a8512 100644 --- a/src/soc/intel/icelake/cpu.c +++ b/src/soc/intel/icelake/cpu.c @@ -15,7 +15,6 @@
#include <arch/cpu.h> #include <console/console.h> -#include <device/pci.h> #include <cpu/x86/lapic.h> #include <cpu/x86/mp.h> #include <cpu/x86/msr.h> diff --git a/src/soc/intel/icelake/espi.c b/src/soc/intel/icelake/espi.c index efde625..acf9583 100644 --- a/src/soc/intel/icelake/espi.c +++ b/src/soc/intel/icelake/espi.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <pc80/isa-dma.h> #include <pc80/i8259.h> #include <arch/io.h> diff --git a/src/soc/intel/icelake/finalize.c b/src/soc/intel/icelake/finalize.c index 6afa61e..0d14124 100644 --- a/src/soc/intel/icelake/finalize.c +++ b/src/soc/intel/icelake/finalize.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <console/post_codes.h> #include <cpu/x86/smm.h> -#include <device/pci.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/pcr.h> #include <intelblocks/tco.h> diff --git a/src/soc/intel/icelake/fsp_params.c b/src/soc/intel/icelake/fsp_params.c index 448b82c..a6a6117 100644 --- a/src/soc/intel/icelake/fsp_params.c +++ b/src/soc/intel/icelake/fsp_params.c @@ -15,7 +15,6 @@
#include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> #include <intelblocks/lpss.h> diff --git a/src/soc/intel/icelake/pmutil.c b/src/soc/intel/icelake/pmutil.c index 7b6168b..ac7e3af 100644 --- a/src/soc/intel/icelake/pmutil.c +++ b/src/soc/intel/icelake/pmutil.c @@ -23,7 +23,6 @@ #include <device/mmio.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <console/console.h> #include <intelblocks/pmclib.h> diff --git a/src/soc/intel/icelake/smmrelocate.c b/src/soc/intel/icelake/smmrelocate.c index 0bedc9e6..8d53bb9 100644 --- a/src/soc/intel/icelake/smmrelocate.c +++ b/src/soc/intel/icelake/smmrelocate.c @@ -16,7 +16,6 @@ #include <types.h> #include <string.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/icelake/systemagent.c b/src/soc/intel/icelake/systemagent.c index 930e78e..36d38e7 100644 --- a/src/soc/intel/icelake/systemagent.c +++ b/src/soc/intel/icelake/systemagent.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <intelblocks/systemagent.h> #include <soc/iomap.h> #include <soc/systemagent.h> diff --git a/src/soc/intel/quark/i2c.c b/src/soc/intel/quark/i2c.c index 1d17a7c..65c23b2 100644 --- a/src/soc/intel/quark/i2c.c +++ b/src/soc/intel/quark/i2c.c @@ -19,7 +19,6 @@ #include <delay.h> #include <device/device.h> #include <device/i2c_simple.h> -#include <device/pci.h> #include <soc/i2c.h> #include <soc/ramstage.h> #include <soc/reg_access.h> diff --git a/src/soc/intel/quark/include/soc/pci_devs.h b/src/soc/intel/quark/include/soc/pci_devs.h index a24f28f..e16aff7 100644 --- a/src/soc/intel/quark/include/soc/pci_devs.h +++ b/src/soc/intel/quark/include/soc/pci_devs.h @@ -18,7 +18,6 @@ #ifndef _QUARK_PCI_DEVS_H_ #define _QUARK_PCI_DEVS_H_
-#include <device/pci.h> #include <device/pci_def.h>
/* DEVICE 0 (Memory Controller Hub) */ diff --git a/src/soc/intel/quark/include/soc/storage_test.h b/src/soc/intel/quark/include/soc/storage_test.h index 1c93f1c..a8bdd8b 100644 --- a/src/soc/intel/quark/include/soc/storage_test.h +++ b/src/soc/intel/quark/include/soc/storage_test.h @@ -18,7 +18,6 @@
#include <commonlib/sd_mmc_ctrlr.h> #include <device/device.h> -#include <device/pci.h> #include <timer.h>
#ifdef __SIMPLE_DEVICE__ diff --git a/src/soc/intel/quark/romstage/report_platform.c b/src/soc/intel/quark/romstage/report_platform.c index cbbf43f..3e2b069 100644 --- a/src/soc/intel/quark/romstage/report_platform.c +++ b/src/soc/intel/quark/romstage/report_platform.c @@ -16,7 +16,6 @@
#include <arch/cpu.h> #include <console/console.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <soc/cpu.h> diff --git a/src/soc/intel/skylake/bootblock/report_platform.c b/src/soc/intel/skylake/bootblock/report_platform.c index b0b416e..596c726 100644 --- a/src/soc/intel/skylake/bootblock/report_platform.c +++ b/src/soc/intel/skylake/bootblock/report_platform.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <cpu/x86/msr.h> #include <cpu/x86/name.h> -#include <device/pci.h> #include <device/pci_ids.h> #include <intelblocks/mp_init.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c index f5273f6..08210cb 100644 --- a/src/soc/intel/skylake/cpu.c +++ b/src/soc/intel/skylake/cpu.c @@ -19,7 +19,6 @@ #include <bootstate.h> #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <cpu/x86/mtrr.h> #include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c index e5d32d7..1ccaad0 100644 --- a/src/soc/intel/skylake/finalize.c +++ b/src/soc/intel/skylake/finalize.c @@ -22,7 +22,6 @@ #include <console/post_codes.h> #include <cpu/x86/mp.h> #include <cpu/x86/smm.h> -#include <device/pci.h> #include <intelblocks/cpulib.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/p2sb.h> diff --git a/src/soc/intel/skylake/irq.c b/src/soc/intel/skylake/irq.c index 6e6d655..4a1b283 100644 --- a/src/soc/intel/skylake/irq.c +++ b/src/soc/intel/skylake/irq.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/itss.h> diff --git a/src/soc/intel/skylake/lpc.c b/src/soc/intel/skylake/lpc.c index 71ffb9a..7ff9eda 100644 --- a/src/soc/intel/skylake/lpc.c +++ b/src/soc/intel/skylake/lpc.c @@ -16,7 +16,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <pc80/isa-dma.h> #include <pc80/i8259.h> #include <arch/ioapic.h> diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c index d53d91e..937f72b 100644 --- a/src/soc/intel/skylake/me.c +++ b/src/soc/intel/skylake/me.c @@ -17,7 +17,6 @@ #include <bootstate.h> #include <commonlib/helpers.h> #include <console/console.h> -#include <device/pci.h> #include <intelblocks/cse.h> #include <soc/iomap.h> #include <soc/me.h> diff --git a/src/soc/intel/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c index 2b2141b..dee0915 100644 --- a/src/soc/intel/skylake/pmutil.c +++ b/src/soc/intel/skylake/pmutil.c @@ -23,7 +23,6 @@ #include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <console/console.h> #include <intelblocks/pmclib.h> diff --git a/src/soc/intel/skylake/smmrelocate.c b/src/soc/intel/skylake/smmrelocate.c index 62fc7e4..ae90068 100644 --- a/src/soc/intel/skylake/smmrelocate.c +++ b/src/soc/intel/skylake/smmrelocate.c @@ -17,7 +17,6 @@ #include <types.h> #include <string.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/tigerlake/bootblock/report_platform.c b/src/soc/intel/tigerlake/bootblock/report_platform.c index 41061ee..98ca7be 100644 --- a/src/soc/intel/tigerlake/bootblock/report_platform.c +++ b/src/soc/intel/tigerlake/bootblock/report_platform.c @@ -23,7 +23,6 @@ #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/msr.h> -#include <device/pci.h> #include <device/pci_ids.h> #include <intelblocks/mp_init.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/tigerlake/chip.c b/src/soc/intel/tigerlake/chip.c index 530893c..d323ca5 100644 --- a/src/soc/intel/tigerlake/chip.c +++ b/src/soc/intel/tigerlake/chip.c @@ -14,7 +14,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <fsp/api.h> #include <fsp/util.h> #include <intelblocks/acpi.h> diff --git a/src/soc/intel/tigerlake/cpu.c b/src/soc/intel/tigerlake/cpu.c index 5f4f081..c41807e 100644 --- a/src/soc/intel/tigerlake/cpu.c +++ b/src/soc/intel/tigerlake/cpu.c @@ -21,7 +21,6 @@
#include <arch/cpu.h> #include <console/console.h> -#include <device/pci.h> #include <cpu/x86/lapic.h> #include <cpu/x86/mp.h> #include <cpu/x86/msr.h> diff --git a/src/soc/intel/tigerlake/espi.c b/src/soc/intel/tigerlake/espi.c index 932f760..d8aff23 100644 --- a/src/soc/intel/tigerlake/espi.c +++ b/src/soc/intel/tigerlake/espi.c @@ -20,7 +20,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <pc80/isa-dma.h> #include <pc80/i8259.h> #include <arch/io.h> diff --git a/src/soc/intel/tigerlake/finalize.c b/src/soc/intel/tigerlake/finalize.c index 2de58a9..191e002 100644 --- a/src/soc/intel/tigerlake/finalize.c +++ b/src/soc/intel/tigerlake/finalize.c @@ -25,7 +25,6 @@ #include <console/console.h> #include <console/post_codes.h> #include <cpu/x86/smm.h> -#include <device/pci.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/pcr.h> #include <intelblocks/tco.h> diff --git a/src/soc/intel/tigerlake/pmutil.c b/src/soc/intel/tigerlake/pmutil.c index 74e32e4..2883e11 100644 --- a/src/soc/intel/tigerlake/pmutil.c +++ b/src/soc/intel/tigerlake/pmutil.c @@ -30,7 +30,6 @@ #include <device/mmio.h> #include <cbmem.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_def.h> #include <console/console.h> #include <intelblocks/pmclib.h> diff --git a/src/soc/intel/tigerlake/smmrelocate.c b/src/soc/intel/tigerlake/smmrelocate.c index 9e21a23..cd28a3a 100644 --- a/src/soc/intel/tigerlake/smmrelocate.c +++ b/src/soc/intel/tigerlake/smmrelocate.c @@ -16,7 +16,6 @@ #include <types.h> #include <string.h> #include <device/device.h> -#include <device/pci.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/tigerlake/systemagent.c b/src/soc/intel/tigerlake/systemagent.c index 9c8f645..37e4abe 100644 --- a/src/soc/intel/tigerlake/systemagent.c +++ b/src/soc/intel/tigerlake/systemagent.c @@ -20,7 +20,6 @@ */
#include <device/device.h> -#include <device/pci.h> #include <intelblocks/systemagent.h> #include <soc/iomap.h> #include <soc/systemagent.h>