mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-06 06:21:51 +00:00
env: Rename some other getenv()-related functions
We are now using an env_ prefix for environment functions. Rename these other functions as well, for consistency: getenv_vlan() getenv_bootm_size() getenv_bootm_low() getenv_bootm_mapsize() env_get_default() Suggested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
35affd7a2f
commit
723806cc5b
41 changed files with 85 additions and 85 deletions
2
env/flags.c
vendored
2
env/flags.c
vendored
|
@ -541,7 +541,7 @@ int env_flags_validate(const ENTRY *item, const char *newval, enum env_op op,
|
|||
return 1;
|
||||
} else if (item->flags &
|
||||
ENV_FLAGS_VARACCESS_PREVENT_NONDEF_OVERWR) {
|
||||
const char *defval = getenv_default(name);
|
||||
const char *defval = env_get_default(name);
|
||||
|
||||
if (defval == NULL)
|
||||
defval = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue