]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: versal-net: Add env redund offset
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 14 Jun 2024 12:51:10 +0000 (18:21 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 17 Jun 2024 14:02:30 +0000 (16:02 +0200)
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@amd.com>
Link: https://lore.kernel.org/r/20240614125110.23058-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_versal_net_virt_defconfig

index 73b2e7ad953dc328d6fbe30fe2d2a1ff00b77b90..dd7c558d81013efb6c1039c4bafe2a8e5165f3bd 100644 (file)
@@ -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