diff options
Diffstat (limited to 'common/env_common.c')
-rw-r--r-- | common/env_common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c index a415ef8..5acda4d 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -227,13 +227,18 @@ int env_import(const char *buf, int check) void env_relocate (void) { +#if !defined(CONFIG_RELOC_FIXUP_WORKS) + extern void env_reloc(void); + + env_reloc(); +#endif if (gd->env_valid == 0) { #if defined(CONFIG_ENV_IS_NOWHERE) /* Environment not changable */ set_default_env(NULL); #else show_boot_progress (-60); -#endif set_default_env("!bad CRC"); +#endif } else { env_relocate_spec (); } |