mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
Rename this function for consistency with env_get(). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@ -580,7 +580,7 @@ static void fdt_fixup_l2_switch(void *blob)
|
||||
return;
|
||||
|
||||
/* Get MAC address for the l2switch from "l2switchaddr"*/
|
||||
if (!eth_getenv_enetaddr("l2switchaddr", l2swaddr)) {
|
||||
if (!eth_env_get_enetaddr("l2switchaddr", l2swaddr)) {
|
||||
printf("Warning: MAC address for l2switch not found\n");
|
||||
memset(l2swaddr, 0, sizeof(l2swaddr));
|
||||
}
|
||||
|
Reference in New Issue
Block a user