]> Git Repo - J-u-boot.git/blobdiff - env/sata.c
env: mmc: Add missing eMMC bootpart restoration to env erase
[J-u-boot.git] / env / sata.c
index 93697100815d080ae6c1e0bd81669dfa666314e0..9442cfcaf3cab666a55cb64c1cfc460cf0feadfc 100644 (file)
@@ -16,7 +16,7 @@
 #include <sata.h>
 #include <search.h>
 
-#if defined(CONFIG_ENV_SIZE_REDUND) || defined(CONFIG_ENV_OFFSET_REDUND)
+#if defined(CONFIG_ENV_OFFSET_REDUND)
 #error ENV REDUND not supported
 #endif
 
@@ -111,7 +111,7 @@ static void env_sata_load(void)
                return -EIO;
        }
 
-       return env_import(buf, 1);
+       return env_import(buf, 1, H_EXTERNAL);
 }
 
 U_BOOT_ENV_LOCATION(sata) = {
This page took 0.025882 seconds and 4 git commands to generate.