diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2024-03-11 13:01:57 +0100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-03-13 18:15:52 +0800 |
commit | 9f5df9a3ef6b7470cc7a74d712628b5d085e5314 (patch) | |
tree | 1e872419a232ef594338dfac28ef011170bce32c /arch/arm/include | |
parent | eda2c8736e63b0e0e308780663ef048cb918b847 (diff) | |
download | u-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.zip u-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.tar.gz u-boot-9f5df9a3ef6b7470cc7a74d712628b5d085e5314.tar.bz2 |
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 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/hardware.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/hardware.h b/arch/arm/include/asm/arch-rockchip/hardware.h index 62e8bed..e4662a2 100644 --- a/arch/arm/include/asm/arch-rockchip/hardware.h +++ b/arch/arm/include/asm/arch-rockchip/hardware.h @@ -6,6 +6,8 @@ #ifndef _ASM_ARCH_HARDWARE_H #define _ASM_ARCH_HARDWARE_H +#include <asm/io.h> + #define RK_CLRSETBITS(clr, set) ((((clr) | (set)) << 16) | (set)) #define RK_SETBITS(set) RK_CLRSETBITS(0, set) #define RK_CLRBITS(clr) RK_CLRSETBITS(clr, 0) |