mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-27 17:12:03 +00:00
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
Rename this function for consistency with env_set(). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
018f530323
commit
fd1e959e91
58 changed files with 83 additions and 83 deletions
|
@ -229,7 +229,7 @@ int board_eth_init(bd_t *bis)
|
|||
mac_addr[5] = (mac_lo & 0xFF00) >> 8;
|
||||
|
||||
if (is_valid_ethaddr(mac_addr))
|
||||
eth_setenv_enetaddr("ethaddr", mac_addr);
|
||||
eth_env_set_enetaddr("ethaddr", mac_addr);
|
||||
else
|
||||
goto try_usbether;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue