mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
env: Move env_reloc() to env.h
Move env_reloc() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -278,4 +278,11 @@ void env_set_default(const char *s, int flags);
|
|||||||
*/
|
*/
|
||||||
int env_get_char(int index);
|
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
|
#endif
|
||||||
|
@@ -158,10 +158,6 @@ extern env_t environment;
|
|||||||
|
|
||||||
extern const unsigned char default_environment[];
|
extern const unsigned char default_environment[];
|
||||||
|
|
||||||
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
|
|
||||||
extern void env_reloc(void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef DO_DEPS_ONLY
|
#ifndef DO_DEPS_ONLY
|
||||||
|
|
||||||
#include <env_attr.h>
|
#include <env_attr.h>
|
||||||
|
Reference in New Issue
Block a user