]> git.sur5r.net Git - u-boot/blobdiff - board/LaCie/net2big_v2/net2big_v2.c
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
[u-boot] / board / LaCie / net2big_v2 / net2big_v2.c
index 263bb5426c0d1a7086b9ed28ea7085e7ee0a96ed..416af469fa731e17ee443fb4e1c8e0dd15c1e420 100644 (file)
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <command.h>
 #include <i2c.h>
+#include <asm/mach-types.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
@@ -223,7 +224,7 @@ int misc_init_r(void)
        if (!getenv("ethaddr")) {
                uchar mac[6];
                if (lacie_read_mac_address(mac) == 0)
-                       eth_setenv_enetaddr("ethaddr", mac);
+                       eth_env_set_enetaddr("ethaddr", mac);
        }
 #endif
        init_leds();