diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2021-02-23 08:07:46 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-04-23 08:43:25 +0200 |
commit | 4fb83c9c2b2659b9493e271542c1c4568f97380c (patch) | |
tree | 54d38fa1a6a99d36772b36c273336b9f24d8b3c6 /configs | |
parent | cd08513b051890e6e426d902570a07467b6d2318 (diff) | |
download | u-boot-4fb83c9c2b2659b9493e271542c1c4568f97380c.zip u-boot-4fb83c9c2b2659b9493e271542c1c4568f97380c.tar.gz u-boot-4fb83c9c2b2659b9493e271542c1c4568f97380c.tar.bz2 |
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 <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/xilinx_versal_virt_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 2d639a1..fe108d3 100644 --- a/configs/xilinx_versal_virt_defconfig +++ b/configs/xilinx_versal_virt_defconfig @@ -39,6 +39,9 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_MTDPARTS=y CONFIG_CMD_UBI=y CONFIG_OF_BOARD=y +CONFIG_ENV_IS_NOWHERE=y +CONFIG_ENV_IS_IN_FAT=y +CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_NETCONSOLE=y |