]> git.sur5r.net Git - u-boot/blobdiff - board/RPXClassic/RPXClassic.c
ppc: cleanup compiler errors/warnings
[u-boot] / board / RPXClassic / RPXClassic.c
index 5aa713fa0be4bb4a650d27e982e9d4e569933b50..c3d5385f42ee4129fdb64b48e57398379c7db80f 100644 (file)
@@ -30,6 +30,7 @@
 #include <i2c.h>
 #include <config.h>
 #include <mpc8xx.h>
+#include <net.h>
 
 /* ------------------------------------------------------------------------- */
 
@@ -151,7 +152,7 @@ int misc_init_r(void)
 
        if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
                board_get_enetaddr(enetaddr);
-               eth_putenv_enetaddr("ethaddr", enetaddr);
+               eth_setenv_enetaddr("ethaddr", enetaddr);
        }
 
        return 0;