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/drivers | |
parent | 44e89af6e609874f2f18d30f1e66dce8b5a98eff (diff) | |
download | coreboot-f1b58b78351d7ed220673e688a2f7bc9e96da4e2.tar.xz |
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/drivers')
-rw-r--r-- | src/drivers/dec/21143/21143.c | 1 | ||||
-rw-r--r-- | src/drivers/generic/bayhub/bh720.c | 1 | ||||
-rw-r--r-- | src/drivers/intel/gma/vbt.c | 1 | ||||
-rw-r--r-- | src/drivers/intel/wifi/wifi.c | 1 | ||||
-rw-r--r-- | src/drivers/net/atl1e.c | 1 | ||||
-rw-r--r-- | src/drivers/ricoh/rce822/rce822.c | 1 | ||||
-rw-r--r-- | src/drivers/uart/oxpcie.c | 1 | ||||
-rw-r--r-- | src/drivers/uart/oxpcie_early.c | 1 | ||||
-rw-r--r-- | src/drivers/usb/pci_ehci.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/src/drivers/dec/21143/21143.c b/src/drivers/dec/21143/21143.c index 36f86f1ee7..3af334b00f 100644 --- a/src/drivers/dec/21143/21143.c +++ b/src/drivers/dec/21143/21143.c @@ -17,6 +17,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pci_ids.h> #include <console/console.h> diff --git a/src/drivers/generic/bayhub/bh720.c b/src/drivers/generic/bayhub/bh720.c index 2ac5387a2b..09fa578e86 100644 --- a/src/drivers/generic/bayhub/bh720.c +++ b/src/drivers/generic/bayhub/bh720.c @@ -19,6 +19,7 @@ #include <device/device.h> #include <device/path.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pci_ids.h> #include "chip.h" #include "bh720.h" diff --git a/src/drivers/intel/gma/vbt.c b/src/drivers/intel/gma/vbt.c index f7dc99cef5..2cfe62bcb4 100644 --- a/src/drivers/intel/gma/vbt.c +++ b/src/drivers/intel/gma/vbt.c @@ -16,6 +16,7 @@ */ #include <arch/io.h> +#include <device/pci_ops.h> #include <delay.h> #include <device/device.h> #include <string.h> diff --git a/src/drivers/intel/wifi/wifi.c b/src/drivers/intel/wifi/wifi.c index ade5087db1..bb617d5d0a 100644 --- a/src/drivers/intel/wifi/wifi.c +++ b/src/drivers/intel/wifi/wifi.c @@ -20,6 +20,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <device/pci_ids.h> #include <elog.h> #include <sar.h> diff --git a/src/drivers/net/atl1e.c b/src/drivers/net/atl1e.c index 7e02e810b0..bbfe98a540 100644 --- a/src/drivers/net/atl1e.c +++ b/src/drivers/net/atl1e.c @@ -25,6 +25,7 @@ #include <string.h> #include <console/console.h> #include <device/pci.h> +#include <device/pci_ops.h> #define REG_SPI_FLASH_CTRL 0x200 #define SPI_FLASH_CTRL_EN_VPD 0x2000 diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c index d576762989..57f01dc99f 100644 --- a/src/drivers/ricoh/rce822/rce822.c +++ b/src/drivers/ricoh/rce822/rce822.c @@ -18,6 +18,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <arch/io.h> +#include <device/pci_ops.h> #include "chip.h" static void rce822_enable(struct device *dev) diff --git a/src/drivers/uart/oxpcie.c b/src/drivers/uart/oxpcie.c index 7364a75411..168ed6aeb1 100644 --- a/src/drivers/uart/oxpcie.c +++ b/src/drivers/uart/oxpcie.c @@ -20,6 +20,7 @@ #include <console/console.h> #include <console/uart.h> #include <arch/io.h> +#include <device/pci_ops.h> static void oxford_oxpcie_enable(struct device *dev) { diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c index 2a01cb60b7..b81a7ffa91 100644 --- a/src/drivers/uart/oxpcie_early.c +++ b/src/drivers/uart/oxpcie_early.c @@ -18,6 +18,7 @@ #include <stdint.h> #include <stddef.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <arch/early_variables.h> #include <boot/coreboot_tables.h> #include <console/uart.h> diff --git a/src/drivers/usb/pci_ehci.c b/src/drivers/usb/pci_ehci.c index c05129163e..4028d4b225 100644 --- a/src/drivers/usb/pci_ehci.c +++ b/src/drivers/usb/pci_ehci.c @@ -18,6 +18,7 @@ #include <console/console.h> #include <device/pci_ehci.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <device/pci.h> #include <device/pci_def.h> #include <string.h> |