]> git.sur5r.net Git - u-boot/blobdiff - lib_avr32/board.c
mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation
[u-boot] / lib_avr32 / board.c
index 29999d86359e7e00f318625580418c7040e61c4b..917ed6ce75ef8f7eccd29605dfece339778a1c36 100644 (file)
 #include <version.h>
 #include <net.h>
 
+#ifdef CONFIG_BITBANGMII
+#include <miiphy.h>
+#endif
+
 #include <asm/initcalls.h>
 #include <asm/sections.h>
 
@@ -337,6 +341,9 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
        if (s)
                load_addr = simple_strtoul(s, NULL, 16);
 
+#ifdef CONFIG_BITBANGMII
+       bb_miiphy_init();
+#endif
 #if defined(CONFIG_CMD_NET)
        s = getenv("bootfile");
        if (s)