configs: am62x_android_a53.config: force ENV_IS_NOWHERE=n
When booting with a corrupt MMC environment, we can see:
Loading Environment from MMC... *** Warning - bad CRC, using default environment
Loading Environment from nowhere... OK
After that, saving does not work:
=> env default -a -f
## Resetting to default environment
=> saveenv
Saving Environment to nowhere... not possible
This is because CONFIG_ENV_IS_NOWHERE=y is set in am62x in
am62x_evm_a53_defconfig and applying the am62x_android_53.config fragment does
not disable it.
Disable ENV_IS_NOWHERE explicitly so that => saveenv can repair broken environments.
Fixes: d5a7186e16 ("configs: am62x_android_a53.config: Store environment in MMC")
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
This commit is contained in:
parent
e9f0e84341
commit
9f0d18e7f6
|
|
@ -22,5 +22,6 @@ CONFIG_LIBAVB=y
|
|||
CONFIG_ENV_SIZE=0x20000
|
||||
CONFIG_ENV_OFFSET=0x680000
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_ENV_IS_NOWHERE=n
|
||||
CONFIG_SYS_MMC_ENV_PART=1
|
||||
CONFIG_SPL_ENV_IS_NOWHERE=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue