diff options
Diffstat (limited to 'env/common.c')
-rw-r--r-- | env/common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/env/common.c b/env/common.c index 0ecdb248a08..eb1a9137953 100644 --- a/env/common.c +++ b/env/common.c @@ -15,6 +15,7 @@ #include <log.h> #include <sort.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <linux/stddef.h> #include <search.h> #include <errno.h> @@ -428,11 +429,6 @@ int env_export(env_t *env_out) void env_relocate(void) { -#if defined(CONFIG_NEEDS_MANUAL_RELOC) - env_reloc(); - env_fix_drivers(); - env_htab.change_ok += gd->reloc_off; -#endif if (gd->env_valid == ENV_INVALID) { #if defined(CONFIG_ENV_IS_NOWHERE) || defined(CONFIG_SPL_BUILD) /* Environment not changable */ |