mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +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
|
@ -1536,7 +1536,7 @@ ushort string_to_vlan(const char *s)
|
|||
return htons(id);
|
||||
}
|
||||
|
||||
ushort getenv_vlan(char *var)
|
||||
ushort env_get_vlan(char *var)
|
||||
{
|
||||
return string_to_vlan(env_get(var));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue