commit | f1b58b78351d7ed220673e688a2f7bc9e96da4e2 | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Fri Mar 01 13:43:02 2019 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Fri Mar 01 20:32:15 2019 +0000 |
tree | d8aae223f0e426f189cb4750b972a31e09d46b88 | |
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>
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c index 0ff4c54..1493565d 100644 --- a/src/mainboard/emulation/qemu-i440fx/northbridge.c +++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -15,6 +15,7 @@ #include <cpu/cpu.h> #include <cpu/x86/lapic_def.h> #include <arch/io.h> +#include <device/pci_ops.h> #include <arch/ioapic.h> #include <stdint.h> #include <device/device.h>
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c index e1eaa29..e7147fc 100644 --- a/src/mainboard/emulation/qemu-q35/acpi_tables.c +++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c
@@ -21,6 +21,7 @@ #include <arch/smp/mpspec.h> #include <device/device.h> #include <device/pci.h> +#include <device/pci_ops.h> #include <version.h> #include "../qemu-i440fx/fw_cfg.h"
diff --git a/src/mainboard/emulation/qemu-q35/bootblock.c b/src/mainboard/emulation/qemu-q35/bootblock.c index 18a083d..5ee5fc9 100644 --- a/src/mainboard/emulation/qemu-q35/bootblock.c +++ b/src/mainboard/emulation/qemu-q35/bootblock.c
@@ -12,6 +12,7 @@ */ #include <arch/io.h> +#include <device/pci_ops.h> #include <bootblock_common.h> #include <southbridge/intel/i82801ix/i82801ix.h>