summaryrefslogtreecommitdiff
path: root/env/onenand.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/onenand.c')
-rw-r--r--env/onenand.c2
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;