]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: versal-net: Add support for saving env based on bootmode
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tue, 12 Mar 2024 11:34:21 +0000 (17:04 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 22 Mar 2024 11:41:31 +0000 (12:41 +0100)
commit8da257f4da61b3613bc8b9b051a82625f38198b3
tree667b049ed5d82dc44902de329e3e14eb0c117254
parent03506af9daad6c5b39afc3a200bcf75667ad3b32
xilinx: versal-net: Add support for saving env based on bootmode

Enable saving variables to MMC(FAT) and SPI based on primary
bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE).

Enable ENV_FAT_DEVICE_AND_PART="0:auto" for versal-net platform as well.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20240312113421.7394-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/versal-net/board.c
configs/xilinx_versal_net_virt_defconfig
env/Kconfig