mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02: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:
@@ -104,7 +104,7 @@ static void configure_wait(void)
|
||||
|
||||
void link_local_start(void)
|
||||
{
|
||||
ip = getenv_ip("llipaddr");
|
||||
ip = env_get_ip("llipaddr");
|
||||
if (ip.s_addr != 0 &&
|
||||
(ntohl(ip.s_addr) & IN_CLASSB_NET) != LINKLOCAL_ADDR) {
|
||||
puts("invalid link address");
|
||||
|
Reference in New Issue
Block a user