]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: SiFive Unmatched: enable 'env erase' sub-command
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 12 Nov 2024 10:42:23 +0000 (11:42 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 27 Nov 2024 11:31:29 +0000 (19:31 +0800)
With the move from script based booting to using bootmeth a lot of
environment variables have changed. To always use the default environment
it is recommendable to erase the environment stored in the SPI flash.
This can be done with the 'env erase' sub-command.

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

index 058e5fab683aa950acdff794d9aba2adaad2044d..6fede360aeba0791cdae4bc83fe4047dba06db87 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_DM_SPI_FLASH=y
 CONFIG_SPL_DM_RESET=y
 CONFIG_SPL_SPI_LOAD=y
+CONFIG_CMD_ERASEENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_PWM=y