summaryrefslogtreecommitdiff
path: root/board/technologic/ts4800/ts4800.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/technologic/ts4800/ts4800.c')
-rw-r--r--board/technologic/ts4800/ts4800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/technologic/ts4800/ts4800.c b/board/technologic/ts4800/ts4800.c
index 94251c6d918..8fe26a75e82 100644
--- a/board/technologic/ts4800/ts4800.c
+++ b/board/technologic/ts4800/ts4800.c
@@ -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;
}