From: Simon Glass Date: Thu, 1 Aug 2019 15:47:02 +0000 (-0600) Subject: env: Move env_reloc() to env.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c62f62b0fccca951bdc91f3ab85f495fdcc0efb2;p=u-boot.git env: Move env_reloc() to env.h Move env_reloc() over to the new header file. Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- diff --git a/include/env.h b/include/env.h index 42d8bcfa50..727f58528f 100644 --- a/include/env.h +++ b/include/env.h @@ -278,4 +278,11 @@ void env_set_default(const char *s, int flags); */ int env_get_char(int index); +/** + * env_reloc() - Relocate the 'env' sub-commands + * + * This is used for those unfortunate archs with crappy toolchains + */ +void env_reloc(void); + #endif diff --git a/include/environment.h b/include/environment.h index ea45b57628..d23b92833e 100644 --- a/include/environment.h +++ b/include/environment.h @@ -158,10 +158,6 @@ extern env_t environment; extern const unsigned char default_environment[]; -#if defined(CONFIG_NEEDS_MANUAL_RELOC) -extern void env_reloc(void); -#endif - #ifndef DO_DEPS_ONLY #include