mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
2
env/eeprom.c
vendored
2
env/eeprom.c
vendored
@@ -188,7 +188,7 @@ static int env_eeprom_load(void)
|
||||
eeprom_bus_read(CONFIG_SYS_DEF_EEPROM_ADDR,
|
||||
off, (uchar *)buf_env, CONFIG_ENV_SIZE);
|
||||
|
||||
return env_import(buf_env, 1);
|
||||
return env_import(buf_env, 1, H_EXTERNAL);
|
||||
}
|
||||
|
||||
static int env_eeprom_save(void)
|
||||
|
Reference in New Issue
Block a user