[PATCH] xilinx: versal-net: Add env redund offset

Michal Simek michal.simek at amd.com
Mon Jun 17 15:32:24 CEST 2024



On 6/14/24 14:51, Venkatesh Yadav Abbarapu wrote:
> ENV_OFFSET_REDUND config is by default set to 0 for flashes.
> Saving the env variables is overwriting data at 0 offset,
> which is wrong. So add default redund env offset
> ENV_OFFSET_REDUND at 0x7F00000 for Versal NET platform.
> 
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
>   configs/xilinx_versal_net_virt_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig
> index 40c6a29a16..289f27cdea 100644
> --- a/configs/xilinx_versal_net_virt_defconfig
> +++ b/configs/xilinx_versal_net_virt_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x100000
>   CONFIG_DEFAULT_DEVICE_TREE="xilinx-versal-net-virt"
>   CONFIG_OF_LIBFDT_OVERLAY=y
>   CONFIG_DM_RESET=y
> +CONFIG_ENV_OFFSET_REDUND=0x7F00000
>   CONFIG_CMD_FRU=y
>   CONFIG_SYS_LOAD_ADDR=0x8000000
>   CONFIG_SYS_MEMTEST_START=0x00000000

Applied.
M


More information about the U-Boot mailing list