diff options
| author | Simon Glass <[email protected]> | 2019-08-01 09:46:50 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-08-11 16:43:41 -0400 |
| commit | cdbff9fc4002fdd47181088d5abe90e5f2fa1904 (patch) | |
| tree | 833d690735da8fe451d8efd805c0c8ae4d0da50c /include/common.h | |
| parent | 6bf6dbee0111d40b4b37799d24eed8b6af7d7b29 (diff) | |
env: Move env_get_hex() to env.h
Move env_get_hex() over to the new header file.
Signed-off-by: Simon Glass <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/common.h b/include/common.h index 83050073bf2..8d8bbc4da30 100644 --- a/include/common.h +++ b/include/common.h @@ -158,18 +158,6 @@ int do_ext2load(cmd_tbl_t *, int, int, char * const []); char *env_get(const char *varname); /** - * env_get_hex() - Return an environment variable as a hex value - * - * Decode an environment as a hex number (it may or may not have a 0x - * prefix). If the environment variable cannot be found, or does not start - * with hex digits, the default value is returned. - * - * @varname: Variable to decode - * @default_val: Value to return on error - */ -ulong env_get_hex(const char *varname, ulong default_val); - -/** * env_set() - set an environment variable * * This sets or deletes the value of an environment variable. For setting the |
