mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-04 13:22:31 +00:00
env: Discern environment coming from external storage
Add another custom environment flag which discerns environment coming from external storage from environment set by U-Boot itself. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
ef9bef2bfe
commit
890feecaab
15 changed files with 29 additions and 24 deletions
2
env/flash.c
vendored
2
env/flash.c
vendored
|
@ -351,7 +351,7 @@ static int env_flash_load(void)
|
|||
"reading environment; recovered successfully\n\n");
|
||||
#endif /* CONFIG_ENV_ADDR_REDUND */
|
||||
|
||||
return env_import((char *)flash_addr, 1);
|
||||
return env_import((char *)flash_addr, 1, H_EXTERNAL);
|
||||
}
|
||||
#endif /* LOADENV */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue