mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 06:12:58 +00:00
4dc5e26242
When CONFIG_SYS_REDUNDAND_ENVIRONMENT is enabled, by default env is getting saved to redundant environment irrespective of primary env is present or not. It means even if primary and redundant environment are not present, by default, env is getting stored to redundant environment. Even if primary env is present, it is choosing to store in redudndant env. Ideally it should look for primary env and choose to store in primary env if it is present. If both primary and redundant env are not present then it should save in to primary env area. Fix the issue by making env_valid = ENV_INVALID when both the environments are not present. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
attr.c | ||
callback.c | ||
common.c | ||
eeprom.c | ||
embedded.c | ||
env.c | ||
ext4.c | ||
fat.c | ||
flags.c | ||
flash.c | ||
Kconfig | ||
Makefile | ||
mmc.c | ||
nand.c | ||
nowhere.c | ||
nvram.c | ||
onenand.c | ||
remote.c | ||
sf.c | ||
ubi.c |