]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_common.c
OMAP3: Zoom2: Fix ARM relocation support
[karo-tx-uboot.git] / common / env_common.c
index 88f068cc38b8e9785569d87c328ae70034a4d395..a276efc634717eb4740b4ce5351402eb3c6ee483 100644 (file)
@@ -227,7 +227,7 @@ int env_import(const char *buf, int check)
 
 void env_relocate (void)
 {
-#if !defined(CONFIG_RELOC_FIXUP_WORKS)
+#if defined(CONFIG_NEEDS_MANUAL_RELOC)
        extern void env_reloc(void);
 
        env_reloc();
@@ -237,8 +237,8 @@ void env_relocate (void)
                set_default_env(NULL);
 #else
                show_boot_progress (-60);
-#endif
                set_default_env("!bad CRC");
+#endif
        } else {
                env_relocate_spec ();
        }