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/nvram.c
vendored
2
env/nvram.c
vendored
@@ -64,7 +64,7 @@ static int env_nvram_load(void)
|
||||
#else
|
||||
memcpy(buf, (void *)CONFIG_ENV_ADDR, CONFIG_ENV_SIZE);
|
||||
#endif
|
||||
return env_import(buf, 1);
|
||||
return env_import(buf, 1, H_EXTERNAL);
|
||||
}
|
||||
|
||||
static int env_nvram_save(void)
|
||||
|
Reference in New Issue
Block a user