summaryrefslogtreecommitdiff
path: root/board/amlogic
diff options
context:
space:
mode:
Diffstat (limited to 'board/amlogic')
-rw-r--r--board/amlogic/odroid-c2/odroid-c2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c
index f2a394a72b..ca9c13bcc1 100644
--- a/board/amlogic/odroid-c2/odroid-c2.c
+++ b/board/amlogic/odroid-c2/odroid-c2.c
@@ -48,7 +48,7 @@ int misc_init_r(void)
len = meson_sm_read_efuse(EFUSE_MAC_OFFSET,
mac_addr, EFUSE_MAC_SIZE);
if (len == EFUSE_MAC_SIZE && is_valid_ethaddr(mac_addr))
- eth_setenv_enetaddr("ethaddr", mac_addr);
+ eth_env_set_enetaddr("ethaddr", mac_addr);
}
if (!getenv("serial#")) {