]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/spear/common/spr_misc.c
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
[people/ms/u-boot.git] / board / spear / common / spr_misc.c
index 67de28e7ea011ac35138ee32208e74c19f82553a..a02304f49ee0b4c27e8f57a8dc3fec42bdada873 100644 (file)
@@ -53,7 +53,7 @@ int misc_init_r(void)
 #if defined(CONFIG_CMD_NET)
        uchar mac_id[6];
 
-       if (!eth_getenv_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id))
+       if (!eth_env_get_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id))
                eth_env_set_enetaddr("ethaddr", mac_id);
 #endif
        env_set("verify", "n");