aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:52 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit7b51b576d6db714e8668a98de67e93651e18123c (patch)
tree568a39b82f10fabc191cfe6da0fa6e17c251bd08 /include/common.h
parent9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff)
downloadu-boot-7b51b576d6db714e8668a98de67e93651e18123c.zip
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.gz
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.bz2
env: Move env_get() to env.h
Move env_get() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/common.h b/include/common.h
index 739bbd4..70f40da 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 */