diff options
| author | Marek Vasut <[email protected]> | 2020-07-07 20:51:35 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-07-31 10:13:00 -0400 |
| commit | 890feecaab72a630eac3344443e053173f4ad02f (patch) | |
| tree | c36661a5b3a0d8e65f813cc1f5fcf06d3f100d2c /env/nvram.c | |
| parent | ef9bef2bfed36424a3a6678d76d9eb7b710de1ac (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'env/nvram.c')
| -rw-r--r-- | env/nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/nvram.c b/env/nvram.c index 1a9fcf1c069..7c8ea26f968 100644 --- a/env/nvram.c +++ b/env/nvram.c @@ -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) |
