aboutsummaryrefslogtreecommitdiff
path: root/env/ext4.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-07-07 20:51:35 +0200
committerTom Rini <trini@konsulko.com>2020-07-31 10:13:00 -0400
commit890feecaab72a630eac3344443e053173f4ad02f (patch)
treec36661a5b3a0d8e65f813cc1f5fcf06d3f100d2c /env/ext4.c
parentef9bef2bfed36424a3a6678d76d9eb7b710de1ac (diff)
downloadu-boot-890feecaab72a630eac3344443e053173f4ad02f.zip
u-boot-890feecaab72a630eac3344443e053173f4ad02f.tar.gz
u-boot-890feecaab72a630eac3344443e053173f4ad02f.tar.bz2
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/ext4.c')
-rw-r--r--env/ext4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/ext4.c b/env/ext4.c
index cc36504..f823b69 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -156,7 +156,7 @@ static int env_ext4_load(void)
goto err_env_relocate;
}
- err = env_import(buf, 1);
+ err = env_import(buf, 1, H_EXTERNAL);
if (!err)
gd->env_valid = ENV_VALID;