mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +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
|
@ -178,7 +178,7 @@ static int fec_get_mac_from_register(uint32_t base_addr)
|
|||
ethaddr[i] = (reg_mac[i / 4] >> ((i % 4) * 8)) & 0xFF;
|
||||
|
||||
if (is_valid_ethaddr(ethaddr)) {
|
||||
eth_setenv_enetaddr("ethaddr", ethaddr);
|
||||
eth_env_set_enetaddr("ethaddr", ethaddr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue