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/drivers/uart | |
parent | 065857ee7fd61b05025d7a803e82f2b9b53cbc9a (diff) |
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/drivers/uart')
-rw-r--r-- | src/drivers/uart/oxpcie.c | 2 | ||||
-rw-r--r-- | src/drivers/uart/pl011.c | 2 | ||||
-rw-r--r-- | src/drivers/uart/sifive.c | 2 | ||||
-rw-r--r-- | src/drivers/uart/uart8250mem.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/uart/oxpcie.c b/src/drivers/uart/oxpcie.c index 168ed6aeb1..2f40c3f863 100644 --- a/src/drivers/uart/oxpcie.c +++ b/src/drivers/uart/oxpcie.c @@ -19,7 +19,7 @@ #include <device/pci_ids.h> #include <console/console.h> #include <console/uart.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> static void oxford_oxpcie_enable(struct device *dev) diff --git a/src/drivers/uart/pl011.c b/src/drivers/uart/pl011.c index 9cb702f952..4e3af52f89 100644 --- a/src/drivers/uart/pl011.c +++ b/src/drivers/uart/pl011.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <drivers/uart/pl011.h> diff --git a/src/drivers/uart/sifive.c b/src/drivers/uart/sifive.c index ce8ead0d05..1b0f75e3ff 100644 --- a/src/drivers/uart/sifive.c +++ b/src/drivers/uart/sifive.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <types.h> diff --git a/src/drivers/uart/uart8250mem.c b/src/drivers/uart/uart8250mem.c index 94a7fc9426..cf9acf44a1 100644 --- a/src/drivers/uart/uart8250mem.c +++ b/src/drivers/uart/uart8250mem.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <device/device.h> |