diff options
author | Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> | 2024-03-12 17:04:21 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-03-22 12:41:31 +0100 |
commit | 8da257f4da61b3613bc8b9b051a82625f38198b3 (patch) | |
tree | 667b049ed5d82dc44902de329e3e14eb0c117254 /env | |
parent | 03506af9daad6c5b39afc3a200bcf75667ad3b32 (diff) | |
download | u-boot-8da257f4da61b3613bc8b9b051a82625f38198b3.zip u-boot-8da257f4da61b3613bc8b9b051a82625f38198b3.tar.gz u-boot-8da257f4da61b3613bc8b9b051a82625f38198b3.tar.bz2 |
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>
Diffstat (limited to 'env')
-rw-r--r-- | env/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/Kconfig b/env/Kconfig index 7885c8b..1f8e90af 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -472,7 +472,7 @@ config ENV_FAT_DEVICE_AND_PART string "Device and partition for where to store the environemt in FAT" depends on ENV_IS_IN_FAT default "0:1" if TI_COMMON_CMD_OPTIONS - default "0:auto" if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL + default "0:auto" if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET default ":auto" if ARCH_SUNXI default "0" if ARCH_AT91 help |