diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 12 | ||||
-rw-r--r-- | include/env.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/common.h b/include/common.h index 739bbd400a..70f40daa9e 100644 --- a/include/common.h +++ b/include/common.h @@ -145,18 +145,6 @@ int do_fat_fsload(cmd_tbl_t *, int, int, char * const []); /* common/cmd_ext2.c */ int do_ext2load(cmd_tbl_t *, int, int, char * const []); -/** - * env_get() - Look up the value of an environment variable - * - * In U-Boot proper this can be called before relocation (which is when the - * environment is loaded from storage, i.e. GD_FLG_ENV_READY is 0). In that - * case this function calls env_get_f(). - * - * @varname: Variable to look up - * @return value of variable, or NULL if not found - */ -char *env_get(const char *varname); - void pci_init_board(void); /* common/exports.c */ diff --git a/include/env.h b/include/env.h index 6770a6176d..297fd7a071 100644 --- a/include/env.h +++ b/include/env.h @@ -52,6 +52,18 @@ void env_relocate(void); int env_match(unsigned char *name, int index); /** + * env_get() - Look up the value of an environment variable + * + * In U-Boot proper this can be called before relocation (which is when the + * environment is loaded from storage, i.e. GD_FLG_ENV_READY is 0). In that + * case this function calls env_get_f(). + * + * @varname: Variable to look up + * @return value of variable, or NULL if not found + */ +char *env_get(const char *varname); + +/** * env_get_f() - Look up the value of an environment variable (early) * * This function is called from env_get() if the environment has not been |