arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README
[platform/kernel/u-boot.git] / arch / arm / lib / board.c
index cfe32cc..9f861cc 100644 (file)
@@ -488,7 +488,7 @@ static char *failed = "*** failed ***\n";
 static int should_load_env(void)
 {
 #ifdef CONFIG_OF_CONTROL
-       return fdtdec_get_config_int(gd->fdt_blob, "load-environment", 0);
+       return fdtdec_get_config_int(gd->fdt_blob, "load-environment", 1);
 #elif defined CONFIG_DELAY_ENVIRONMENT
        return 0;
 #else