aboutsummaryrefslogtreecommitdiff
path: root/board/ti/ti816x/evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/ti816x/evm.c')
-rw-r--r--board/ti/ti816x/evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c
index 9d6c3d6b5dc..1a8fe27c9f6 100644
--- a/board/ti/ti816x/evm.c
+++ b/board/ti/ti816x/evm.c
@@ -51,7 +51,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
printf("Unable to read MAC address. Set <ethaddr>\n");
}