mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +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
|
@ -300,7 +300,7 @@ static void set_usbethaddr(void)
|
|||
return;
|
||||
}
|
||||
|
||||
eth_setenv_enetaddr("usbethaddr", msg->get_mac_address.body.resp.mac);
|
||||
eth_env_set_enetaddr("usbethaddr", msg->get_mac_address.body.resp.mac);
|
||||
|
||||
if (!getenv("ethaddr"))
|
||||
env_set("ethaddr", getenv("usbethaddr"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue