]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/spear/common/spr_misc.c
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
[thirdparty/u-boot.git] / board / spear / common / spr_misc.c
index 3bb4ff14d9ebf951cb48022c45294842ff3f22ee..67de28e7ea011ac35138ee32208e74c19f82553a 100644 (file)
@@ -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");