diff options
author | Marek Vasut <marex@denx.de> | 2020-07-07 21:51:35 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 17:13:00 +0300 |
commit | 890feecaab72a630eac3344443e053173f4ad02f (patch) | |
tree | c36661a5b3a0d8e65f813cc1f5fcf06d3f100d2c /env/onenand.c | |
parent | ef9bef2bfed36424a3a6678d76d9eb7b710de1ac (diff) | |
download | u-boot-890feecaab72a630eac3344443e053173f4ad02f.tar.xz |
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>
Diffstat (limited to 'env/onenand.c')
-rw-r--r-- | env/onenand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/onenand.c b/env/onenand.c index dfd4e939f8..a2477cef9b 100644 --- a/env/onenand.c +++ b/env/onenand.c @@ -55,7 +55,7 @@ static int env_onenand_load(void) mtd->writesize = MAX_ONENAND_PAGESIZE; #endif /* !ENV_IS_EMBEDDED */ - rc = env_import(buf, 1); + rc = env_import(buf, 1, H_EXTERNAL); if (!rc) gd->env_valid = ENV_VALID; |