From 4fb83c9c2b2659b9493e271542c1c4568f97380c Mon Sep 17 00:00:00 2001 From: Ashok Reddy Soma Date: Tue, 23 Feb 2021 08:07:46 -0700 Subject: xilinx: versal: 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 platforms as well. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- env/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'env') diff --git a/env/Kconfig b/env/Kconfig index 84e9fb1f8ad..1b7906cf726 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -445,7 +445,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 + default "0:auto" if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1 default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1 default "0" if ARCH_AT91 -- cgit