diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-04-18 10:11:59 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-20 13:03:54 +0000 |
commit | e56189cfd1d90a2ca13650a9d21ff82cb79ccda8 (patch) | |
tree | 0da4c1fec6bdb725e4065d4d687364ae5c63104d /src/mainboard | |
parent | 6fcb9b00c8b7f820bb5ef81a83a24cd656654272 (diff) |
pci: Move inline PCI functions to pci_ops.h
Move inline function where they belong to. Fixes compilation
on non x86 platforms.
Change-Id: Ia05391c43b8d501bd68df5654bcfb587f8786f71
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25720
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/asus/maximus_iv_gene-z/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/gizmosphere/gizmo/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/auron/variant.h | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/mainboard.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/asus/maximus_iv_gene-z/romstage.c b/src/mainboard/asus/maximus_iv_gene-z/romstage.c index 75f99727b1..d32b6f9735 100644 --- a/src/mainboard/asus/maximus_iv_gene-z/romstage.c +++ b/src/mainboard/asus/maximus_iv_gene-z/romstage.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/pci_ops.h> #include <device/dram/ddr3.h> #include <northbridge/intel/sandybridge/raminit_native.h> #include <northbridge/intel/sandybridge/sandybridge.h> diff --git a/src/mainboard/gizmosphere/gizmo/mainboard.c b/src/mainboard/gizmosphere/gizmo/mainboard.c index ec06ca2852..b3d1e6c9a3 100644 --- a/src/mainboard/gizmosphere/gizmo/mainboard.c +++ b/src/mainboard/gizmosphere/gizmo/mainboard.c @@ -19,6 +19,7 @@ #include <delay.h> #include <device/device.h> #include <device/pci_def.h> +#include <device/pci_ops.h> #include <southbridge/amd/sb800/sb800.h> #include "SBPLATFORM.h" diff --git a/src/mainboard/google/auron/variant.h b/src/mainboard/google/auron/variant.h index d5c23471e6..41c157fd65 100644 --- a/src/mainboard/google/auron/variant.h +++ b/src/mainboard/google/auron/variant.h @@ -15,6 +15,7 @@ #define VARIANT_H #include <arch/io.h> +#include <device/device.h> #include <soc/romstage.h> int variant_smbios_data(device_t dev, int *handle, unsigned long *current); diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index 81175ec39b..a0d4599fa8 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -18,6 +18,7 @@ #include <device/pci_def.h> #include <device/pci_ids.h> #include <device/device.h> +#include <device/pci_ops.h> #include <arch/io.h> #include <ec/acpi/ec.h> #include <northbridge/intel/i945/i945.h> |