]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: visionfive2: enable CONFIG_CMD_ERASEENV
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 19 Oct 2024 08:31:09 +0000 (10:31 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 28 Oct 2024 08:11:33 +0000 (16:11 +0800)
When moving from vendor U-Boot to the upstream U-Boot it is necessary to
reset the environment.

Provide the 'env erase' sub-command.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/starfive_visionfive2_defconfig

index 511645cebef0c54e27fadab4aeb62cb859e199ce..c3508926d6c6187d7f5729aaa04007e6baac826b 100644 (file)
@@ -62,6 +62,7 @@ CONFIG_SPL_DM_RESET=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_PROMPT="StarFive # "
+CONFIG_CMD_ERASEENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_SYS_EEPROM_SIZE=512
 CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4