]> git.sur5r.net Git - u-boot/commitdiff
85xx: Init pci ethernet cards if we enable any on MPC8572DS
authorKumar Gala <galak@kernel.crashing.org>
Sat, 8 Aug 2009 15:42:30 +0000 (10:42 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 28 Aug 2009 22:12:40 +0000 (17:12 -0500)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8572ds/mpc8572ds.c

index 59d751938e57658db16480a7ca326e3b76d237ac..7da70fe993869632aa12d0ae504cf85347a38767 100644 (file)
@@ -34,6 +34,7 @@
 #include <libfdt.h>
 #include <fdt_support.h>
 #include <tsec.h>
+#include <netdev.h>
 
 #include "../common/pixis.h"
 #include "../common/sgmii_riser.h"
@@ -562,7 +563,7 @@ int board_eth_init(bd_t *bis)
 
        tsec_eth_init(bis, tsec_info, num);
 
-       return 0;
+       return pci_eth_init(bis);
 }
 #endif