diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-03 08:01:05 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-04 15:57:39 +0000 |
commit | 13f66507afdcde5170546e5ca1ce5a945895eb10 (patch) | |
tree | 40c1d05a05b05b596f290c186aa59a8b4d9768ab /src/device | |
parent | 065857ee7fd61b05025d7a803e82f2b9b53cbc9a (diff) | |
download | coreboot-13f66507afdcde5170546e5ca1ce5a945895eb10.tar.xz |
device/mmio.h: Add include file for MMIO ops
MMIO operations are arch-agnostic so the include
path should not be arch/.
Change-Id: I0fd70f5aeca02e98e96b980c3aca0819f5c44b98
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31691
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/azalia_device.c | 2 | ||||
-rw-r--r-- | src/device/oprom/realmode/x86.c | 2 | ||||
-rw-r--r-- | src/device/pci_ops_mmconf.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index 6ca80a82d3..a2849b773a 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -18,7 +18,7 @@ #include <device/pci.h> #include <device/pci_ops.h> #include <device/azalia_device.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #define HDA_ICII_REG 0x68 diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c index 20c6ea9808..0b19d79269 100644 --- a/src/device/oprom/realmode/x86.c +++ b/src/device/oprom/realmode/x86.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <arch/interrupt.h> #include <arch/registers.h> #include <boot/coreboot_tables.h> diff --git a/src/device/pci_ops_mmconf.c b/src/device/pci_ops_mmconf.c index 0af8f8e28b..d1f285fea5 100644 --- a/src/device/pci_ops_mmconf.c +++ b/src/device/pci_ops_mmconf.c @@ -11,7 +11,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <device/pci_ops.h> |