summaryrefslogtreecommitdiff
path: root/board/theobroma-systems
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-11 13:01:57 +0100
committerKever Yang <kever.yang@rock-chips.com>2024-03-13 18:15:52 +0800
commit9f5df9a3ef6b7470cc7a74d712628b5d085e5314 (patch)
tree1e872419a232ef594338dfac28ef011170bce32c /board/theobroma-systems
parenteda2c8736e63b0e0e308780663ef048cb918b847 (diff)
downloadu-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.tar.gz
u-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.tar.bz2
u-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.zip
rockchip: include asm/io.h directly in asm/arch-rockchip/hardware.h
The different macros use writel which is defined in asm/io.h, so let's include the header so users of hardware.h do not need to include asm/io.h as well. While at it, remove asm/io.h includes wherever asm/arch-rockchip/hardware.h is included already. Cc: Quentin Schulz <foss+uboot@0leil.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'board/theobroma-systems')
-rw-r--r--board/theobroma-systems/puma_rk3399/puma-rk3399.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
index 98a818b135..8b998ef455 100644
--- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c
+++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
@@ -6,7 +6,6 @@
#include <dm.h>
#include <syscon.h>
#include <dm/pinctrl.h>
-#include <asm/io.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/hardware.h>
#include <asm/arch-rockchip/grf_rk3399.h>