]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README
authorLucas Stach <dev@lynxeye.de>
Tue, 22 Jan 2013 00:15:49 +0000 (00:15 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 11 Feb 2013 17:35:26 +0000 (10:35 -0700)
No one expects to end up in a delayed environment if
CONFIG_DELAY_ENVIRONMENT isn't defined.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Allen Martin <amartin@nvidia.com>
arch/arm/lib/board.c

index cfe32cc926d502e470d23ec092f827e29c91cf0f..9f861ccaf6693364f76f78d9c66fbb7c605bcce5 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