summaryrefslogtreecommitdiff
path: root/board/xpedite1k
diff options
context:
space:
mode:
Diffstat (limited to 'board/xpedite1k')
-rw-r--r--board/xpedite1k/xpedite1k.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/xpedite1k/xpedite1k.c b/board/xpedite1k/xpedite1k.c
index cd1a368..92dc628 100644
--- a/board/xpedite1k/xpedite1k.c
+++ b/board/xpedite1k/xpedite1k.c
@@ -364,27 +364,27 @@ int misc_init_r(void)
if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("ethaddr", i2c_enetaddr);
+ eth_setenv_enetaddr("ethaddr", i2c_enetaddr);
}
#ifdef CONFIG_HAS_ETH1
if (!eth_getenv_enetaddr("eth1addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth1addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth1addr", i2c_enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH2
if (!eth_getenv_enetaddr("eth2addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth2addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth2addr", i2c_enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH3
if (!eth_getenv_enetaddr("eth3addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth3addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth3addr", i2c_enetaddr);
}
#endif