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/rockchip/common | |
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/rockchip/common')
-rw-r--r-- | src/soc/rockchip/common/edp.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/common/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/common/i2c.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/common/include/soc/soc.h | 1 | ||||
-rw-r--r-- | src/soc/rockchip/common/pwm.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/common/spi.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/common/vop.c | 2 |
7 files changed, 6 insertions, 7 deletions
diff --git a/src/soc/rockchip/common/edp.c b/src/soc/rockchip/common/edp.c index 259400530e..98381a0d1a 100644 --- a/src/soc/rockchip/common/edp.c +++ b/src/soc/rockchip/common/edp.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/rockchip/common/gpio.c b/src/soc/rockchip/common/gpio.c index 0179bd64ea..bb85acf8cc 100644 --- a/src/soc/rockchip/common/gpio.c +++ b/src/soc/rockchip/common/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <gpio.h> #include <soc/gpio.h> diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c index 8629a70580..3c66a580b6 100644 --- a/src/soc/rockchip/common/i2c.c +++ b/src/soc/rockchip/common/i2c.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/rockchip/common/include/soc/soc.h b/src/soc/rockchip/common/include/soc/soc.h index 465066b8aa..f4b07a7476 100644 --- a/src/soc/rockchip/common/include/soc/soc.h +++ b/src/soc/rockchip/common/include/soc/soc.h @@ -16,7 +16,6 @@ #ifndef __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H #define __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H -#include <arch/io.h> #include <symbols.h> #define RK_CLRSETBITS(clr, set) ((((clr) | (set)) << 16) | set) diff --git a/src/soc/rockchip/common/pwm.c b/src/soc/rockchip/common/pwm.c index b9b8ff041a..2ac4bfcdce 100644 --- a/src/soc/rockchip/common/pwm.c +++ b/src/soc/rockchip/common/pwm.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/rockchip/common/spi.c b/src/soc/rockchip/common/spi.c index 86f2594285..98016c0fc9 100644 --- a/src/soc/rockchip/common/spi.c +++ b/src/soc/rockchip/common/spi.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/rockchip/common/vop.c b/src/soc/rockchip/common/vop.c index c3f331f6df..ffd2bea9aa 100644 --- a/src/soc/rockchip/common/vop.c +++ b/src/soc/rockchip/common/vop.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <stdlib.h> #include <string.h> |