1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

env: Move env_get_f() to env.h

Move this function over to the new header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Simon Glass
2019-08-01 09:46:42 -06:00
committed by Tom Rini
parent f1f0ae6a9c
commit 3a7d55716d
22 changed files with 32 additions and 12 deletions

View File

@@ -162,18 +162,6 @@ int envmatch (uchar *, int);
*/
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
* loaded yet (GD_FLG_ENV_READY flag is 0). Some environment locations will
* support reading the value (slowly) and some will not.
*
* @varname: Variable to look up
* @return value of variable, or NULL if not found
*/
int env_get_f(const char *name, char *buf, unsigned len);
/**
* env_get_ulong() - Return an environment variable as an integer value
*