aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki <jagan@edgeble.ai>2023-07-29 19:11:42 +0530
committerKever Yang <kever.yang@rock-chips.com>2023-08-12 10:14:51 +0800
commit2fa09b455a73a9bda0c616eaecd5dfafd5c19502 (patch)
tree62fe3bdfcbd1db31163ac08563302970e9d63b90
parent10e38327f017628f782ae4b104dcd64b3d3aa0fd (diff)
downloadu-boot-2fa09b455a73a9bda0c616eaecd5dfafd5c19502.zip
u-boot-2fa09b455a73a9bda0c616eaecd5dfafd5c19502.tar.gz
u-boot-2fa09b455a73a9bda0c616eaecd5dfafd5c19502.tar.bz2
rockchip: rv1126: Enable fdtoverlay support
Add fdtoverlay_addr_r and enable OF_LIBFDT_OVERLAY for the use of DT overlay in RV1126. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/mach-rockchip/Kconfig1
-rw-r--r--include/configs/rv1126_common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 49da93d..a279582 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -359,6 +359,7 @@ config ROCKCHIP_RV1126
select PMIC_RK8XX
select BOARD_LATE_INIT
imply ROCKCHIP_COMMON_BOARD
+ imply OF_LIBFDT_OVERLAY
imply TPL_DM
imply TPL_LIBCOMMON_SUPPORT
imply TPL_LIBGENERIC_SUPPORT
diff --git a/include/configs/rv1126_common.h b/include/configs/rv1126_common.h
index 1ec1640..a64c0c6 100644
--- a/include/configs/rv1126_common.h
+++ b/include/configs/rv1126_common.h
@@ -24,6 +24,7 @@
"scriptaddr=0x00000000\0" \
"pxefile_addr_r=0x00100000\0" \
"fdt_addr_r=0x08300000\0" \
+ "fdtoverlay_addr_r=0x02000000\0" \
"kernel_addr_r=0x02008000\0" \
"ramdisk_addr_r=0x0a200000\0"