]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: cru: Enable cpu info support for rk3568
authorAnton <vao@asu-vei.ru>
Mon, 7 Aug 2023 07:04:46 +0000 (10:04 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 12 Aug 2023 02:28:30 +0000 (10:28 +0800)
Add cru structure definition in head file to support cpu_info driver.

Series-version: 2
Series-changes: 2
Format the patch header, add commit message and signature.

Signed-off-by: Anton <vao@asu-vei.ru>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/cru.h
arch/arm/include/asm/arch-rockchip/cru_rk3568.h

index 13ea4aba8eb92e8a3dfc5c0a5a63ea1e7fb6f7bb..9778790f3484c2d25c2da98665abd2a0dd1512f4 100644 (file)
@@ -15,6 +15,8 @@
 # include <asm/arch-rockchip/cru_rk3288.h>
 #elif defined(CONFIG_ROCKCHIP_RK3399)
 # include <asm/arch-rockchip/cru_rk3399.h>
+#elif defined(CONFIG_ROCKCHIP_RK3568)
+#include <asm/arch-rockchip/cru_rk3568.h>
 #endif
 
 /* CRU_GLB_RST_ST */
index 399f19ad21ecfa788b844d1b9c7078180b4eca21..76f1ad5510508749a51a8ab85fa0ef0bf54847c2 100644 (file)
@@ -106,6 +106,8 @@ struct rk3568_cru {
        unsigned int emmc_con[2];/* Address Offset: 0x0598 */
 };
 
+#define rockchip_cru rk3568_cru
+
 check_member(rk3568_cru, mode_con00, 0xc0);
 check_member(rk3568_cru, softrst_con[0], 0x400);