diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-01 13:43:02 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-01 20:32:15 +0000 |
commit | f1b58b78351d7ed220673e688a2f7bc9e96da4e2 (patch) | |
tree | d8aae223f0e426f189cb4750b972a31e09d46b88 /src/soc/intel/quark | |
parent | 44e89af6e609874f2f18d30f1e66dce8b5a98eff (diff) |
device/pci: Fix PCI accessor headers
PCI config accessors are no longer indirectly included
from <arch/io.h> use <device/pci_ops.h> instead.
Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31675
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r-- | src/soc/intel/quark/include/soc/ramstage.h | 1 | ||||
-rw-r--r-- | src/soc/intel/quark/reg_access.c | 1 | ||||
-rw-r--r-- | src/soc/intel/quark/romstage/report_platform.c | 1 | ||||
-rw-r--r-- | src/soc/intel/quark/spi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/quark/storage_test.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/quark/include/soc/ramstage.h b/src/soc/intel/quark/include/soc/ramstage.h index da2eb61557..67e37de943 100644 --- a/src/soc/intel/quark/include/soc/ramstage.h +++ b/src/soc/intel/quark/include/soc/ramstage.h @@ -20,6 +20,7 @@ #include <arch/cpu.h> #include <chip.h> #include <device/device.h> +#include <device/pci_ops.h> #include <soc/QuarkNcSocId.h> void mainboard_gpio_i2c_init(struct device *dev); diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c index 867a4316a8..50a8ff0a29 100644 --- a/src/soc/intel/quark/reg_access.c +++ b/src/soc/intel/quark/reg_access.c @@ -18,6 +18,7 @@ #include <assert.h> #include <cpu/x86/mtrr.h> #include <console/console.h> +#include <device/pci_ops.h> #include <soc/pci_devs.h> #include <soc/ramstage.h> #include <soc/reg_access.h> diff --git a/src/soc/intel/quark/romstage/report_platform.c b/src/soc/intel/quark/romstage/report_platform.c index 640f5b0594..cbbf43f982 100644 --- a/src/soc/intel/quark/romstage/report_platform.c +++ b/src/soc/intel/quark/romstage/report_platform.c @@ -17,6 +17,7 @@ #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> #include <soc/pci_devs.h> diff --git a/src/soc/intel/quark/spi.c b/src/soc/intel/quark/spi.c index 4b011b715b..d7b29e7dc7 100644 --- a/src/soc/intel/quark/spi.c +++ b/src/soc/intel/quark/spi.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/pci_ops.h> #include <assert.h> #include <bootstate.h> #include <console/console.h> diff --git a/src/soc/intel/quark/storage_test.c b/src/soc/intel/quark/storage_test.c index d3cd1d3f83..0d0543e1f6 100644 --- a/src/soc/intel/quark/storage_test.c +++ b/src/soc/intel/quark/storage_test.c @@ -15,6 +15,7 @@ #include <arch/early_variables.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <assert.h> #include <cbmem.h> #include <commonlib/cbmem_id.h> |