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 | |
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')
24 files changed, 24 insertions, 20 deletions
diff --git a/src/soc/qualcomm/ipq40xx/blobs_init.c b/src/soc/qualcomm/ipq40xx/blobs_init.c index 2b5e1fd634..d9cb131c8d 100644 --- a/src/soc/qualcomm/ipq40xx/blobs_init.c +++ b/src/soc/qualcomm/ipq40xx/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/ipq40xx/blsp.c b/src/soc/qualcomm/ipq40xx/blsp.c index c9d08d584a..75618c2461 100644 --- a/src/soc/qualcomm/ipq40xx/blsp.c +++ b/src/soc/qualcomm/ipq40xx/blsp.c @@ -29,6 +29,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <device/mmio.h> #include <soc/blsp.h> #include <soc/clock.h> diff --git a/src/soc/qualcomm/ipq40xx/clock.c b/src/soc/qualcomm/ipq40xx/clock.c index 864f2b603b..e3d60e4749 100644 --- a/src/soc/qualcomm/ipq40xx/clock.c +++ b/src/soc/qualcomm/ipq40xx/clock.c @@ -27,6 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <device/mmio.h> #include <delay.h> #include <soc/blsp.h> #include <soc/clock.h> diff --git a/src/soc/qualcomm/ipq40xx/gpio.c b/src/soc/qualcomm/ipq40xx/gpio.c index 47c0fcdaa7..a4b06c2c76 100644 --- a/src/soc/qualcomm/ipq40xx/gpio.c +++ b/src/soc/qualcomm/ipq40xx/gpio.c @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/iomap.h> diff --git a/src/soc/qualcomm/ipq40xx/include/soc/iomap.h b/src/soc/qualcomm/ipq40xx/include/soc/iomap.h index 0bc8a30a70..930c912ee6 100644 --- a/src/soc/qualcomm/ipq40xx/include/soc/iomap.h +++ b/src/soc/qualcomm/ipq40xx/include/soc/iomap.h @@ -36,7 +36,7 @@ #ifndef __SOC_QUALCOMM_IPQ40XX_IOMAP_H_ #define __SOC_QUALCOMM_IPQ40XX_IOMAP_H_ -#include <arch/io.h> +#include <device/mmio.h> #include <soc/cdp.h> #include <soc/blsp.h> diff --git a/src/soc/qualcomm/ipq40xx/lcc.c b/src/soc/qualcomm/ipq40xx/lcc.c index caddf19642..b2b4c4524f 100644 --- a/src/soc/qualcomm/ipq40xx/lcc.c +++ b/src/soc/qualcomm/ipq40xx/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/ipq40xx/qup.c b/src/soc/qualcomm/ipq40xx/qup.c index 9276e145bb..9d1f92d48a 100644 --- a/src/soc/qualcomm/ipq40xx/qup.c +++ b/src/soc/qualcomm/ipq40xx/qup.c @@ -29,7 +29,7 @@ * IF ADVISED OF THE POSSIBILITY OF 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/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c index d47b9c5995..c84a3e5be8 100644 --- a/src/soc/qualcomm/ipq40xx/spi.c +++ b/src/soc/qualcomm/ipq40xx/spi.c @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <gpio.h> diff --git a/src/soc/qualcomm/ipq40xx/timer.c b/src/soc/qualcomm/ipq40xx/timer.c index d5650ec2d9..a08f1fbf86 100644 --- a/src/soc/qualcomm/ipq40xx/timer.c +++ b/src/soc/qualcomm/ipq40xx/timer.c @@ -27,6 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <device/mmio.h> #include <delay.h> #include <soc/iomap.h> #include <soc/ipq_timer.h> diff --git a/src/soc/qualcomm/ipq40xx/uart.c b/src/soc/qualcomm/ipq40xx/uart.c index 491332b730..90edd11cfb 100644 --- a/src/soc/qualcomm/ipq40xx/uart.c +++ b/src/soc/qualcomm/ipq40xx/uart.c @@ -28,7 +28,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <delay.h> diff --git a/src/soc/qualcomm/ipq40xx/usb.c b/src/soc/qualcomm/ipq40xx/usb.c index 27e5550b3a..0d0272c9b2 100644 --- a/src/soc/qualcomm/ipq40xx/usb.c +++ b/src/soc/qualcomm/ipq40xx/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> 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> diff --git a/src/soc/qualcomm/sdm845/clock.c b/src/soc/qualcomm/sdm845/clock.c index 32b0d5e5f8..c4e5efa64f 100644 --- a/src/soc/qualcomm/sdm845/clock.c +++ b/src/soc/qualcomm/sdm845/clock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <types.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/qualcomm/sdm845/gpio.c b/src/soc/qualcomm/sdm845/gpio.c index 47c86cbb59..9c3782a09e 100644 --- a/src/soc/qualcomm/sdm845/gpio.c +++ b/src/soc/qualcomm/sdm845/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <types.h> #include <delay.h> #include <timer.h> diff --git a/src/soc/qualcomm/sdm845/qspi.c b/src/soc/qualcomm/sdm845/qspi.c index 8f1cfc1478..b9a5194a10 100644 --- a/src/soc/qualcomm/sdm845/qspi.c +++ b/src/soc/qualcomm/sdm845/qspi.c @@ -16,7 +16,7 @@ #include <spi-generic.h> #include <spi_flash.h> #include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/qspi.h> #include <soc/gpio.h> |