[PATCH] rockchip: rv1126: Enable fdtoverlay support

Kever Yang kever.yang at rock-chips.com
Mon Jul 31 08:35:01 CEST 2023


On 2023/7/29 21:41, Jagan Teki wrote:
> Add fdtoverlay_addr_r and enable OF_LIBFDT_OVERLAY for the
> use of DT overlay in RV1126.
>
> Signed-off-by: Jagan Teki <jagan at edgeble.ai>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/Kconfig  | 1 +
>   include/configs/rv1126_common.h | 1 +
>   2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
> index 07b5595dac..8c2dd8cffd 100644
> --- a/arch/arm/mach-rockchip/Kconfig
> +++ b/arch/arm/mach-rockchip/Kconfig
> @@ -360,6 +360,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 1ec1640f99..a64c0c6364 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"
>   


More information about the U-Boot mailing list