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/soc/qualcomm/ipq806x | |
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/soc/qualcomm/ipq806x')
-rw-r--r-- | src/soc/qualcomm/ipq806x/blobs_init.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/clock.c | 1 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/gsbi.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/include/soc/iomap.h | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/lcc.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/qup.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/spi.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/uart.c | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq806x/usb.c | 2 |
10 files changed, 10 insertions, 9 deletions
diff --git a/src/soc/qualcomm/ipq806x/blobs_init.c b/src/soc/qualcomm/ipq806x/blobs_init.c index 9549e9a313..aa78f566e9 100644 --- a/src/soc/qualcomm/ipq806x/blobs_init.c +++ b/src/soc/qualcomm/ipq806x/blobs_init.c @@ -15,7 +15,7 @@ */ #include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <cbfs.h> #include <console/console.h> #include <string.h> diff --git a/src/soc/qualcomm/ipq806x/clock.c b/src/soc/qualcomm/ipq806x/clock.c index 9a010d112f..15ea852ae8 100644 --- a/src/soc/qualcomm/ipq806x/clock.c +++ b/src/soc/qualcomm/ipq806x/clock.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include <device/mmio.h> #include <delay.h> #include <soc/clock.h> #include <types.h> diff --git a/src/soc/qualcomm/ipq806x/gpio.c b/src/soc/qualcomm/ipq806x/gpio.c index 15e9e6fbc8..2b27e6d2e0 100644 --- a/src/soc/qualcomm/ipq806x/gpio.c +++ b/src/soc/qualcomm/ipq806x/gpio.c @@ -28,7 +28,7 @@ * SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/iomap.h> diff --git a/src/soc/qualcomm/ipq806x/gsbi.c b/src/soc/qualcomm/ipq806x/gsbi.c index 93270958a9..4e3c780925 100644 --- a/src/soc/qualcomm/ipq806x/gsbi.c +++ b/src/soc/qualcomm/ipq806x/gsbi.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <soc/iomap.h> #include <soc/gsbi.h> #include <console/console.h> diff --git a/src/soc/qualcomm/ipq806x/include/soc/iomap.h b/src/soc/qualcomm/ipq806x/include/soc/iomap.h index 18751a8753..76fd353bca 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/iomap.h +++ b/src/soc/qualcomm/ipq806x/include/soc/iomap.h @@ -36,7 +36,7 @@ #ifndef __SOC_QUALCOMM_IPQ806X_IOMAP_H_ #define __SOC_QUALCOMM_IPQ806X_IOMAP_H_ -#include <arch/io.h> +#include <device/mmio.h> #include <soc/cdp.h> /* Typecast to allow integers being passed as address diff --git a/src/soc/qualcomm/ipq806x/lcc.c b/src/soc/qualcomm/ipq806x/lcc.c index 6aefea2351..68b878ceab 100644 --- a/src/soc/qualcomm/ipq806x/lcc.c +++ b/src/soc/qualcomm/ipq806x/lcc.c @@ -33,7 +33,7 @@ #include <console/console.h> #include <soc/clock.h> #include <soc/lcc-reg.h> -#include <arch/io.h> +#include <device/mmio.h> typedef struct { void *gcc_apcs_regs; diff --git a/src/soc/qualcomm/ipq806x/qup.c b/src/soc/qualcomm/ipq806x/qup.c index a497514baf..872b264cfa 100644 --- a/src/soc/qualcomm/ipq806x/qup.c +++ b/src/soc/qualcomm/ipq806x/qup.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/iomap.h> diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index 28f068d898..cdd2a99f8c 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <gpio.h> diff --git a/src/soc/qualcomm/ipq806x/uart.c b/src/soc/qualcomm/ipq806x/uart.c index 3805c87f46..fe2d673d47 100644 --- a/src/soc/qualcomm/ipq806x/uart.c +++ b/src/soc/qualcomm/ipq806x/uart.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/console.h> #include <console/uart.h> diff --git a/src/soc/qualcomm/ipq806x/usb.c b/src/soc/qualcomm/ipq806x/usb.c index 3a5b80b0d3..35285cd0d5 100644 --- a/src/soc/qualcomm/ipq806x/usb.c +++ b/src/soc/qualcomm/ipq806x/usb.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/clock.h> |