diff options
Diffstat (limited to 'board/spear/common/spr_misc.c')
-rw-r--r-- | board/spear/common/spr_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spear/common/spr_misc.c b/board/spear/common/spr_misc.c index 3bb4ff14d9..67de28e7ea 100644 --- a/board/spear/common/spr_misc.c +++ b/board/spear/common/spr_misc.c @@ -54,7 +54,7 @@ int misc_init_r(void) uchar mac_id[6]; if (!eth_getenv_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id)) - eth_setenv_enetaddr("ethaddr", mac_id); + eth_env_set_enetaddr("ethaddr", mac_id); #endif env_set("verify", "n"); |