Skip to contentSkip to conversation

85xx: Init pci ethernet cards if we enable any on MPC8572DS

PATCH New Kumar Gala 1 participant 1 message Aug 14, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH v2 1/1 85xx: Init pci ethernet cards if we enable any on MPC8572DS

---
* Make it build by include netdev.h

 board/freescale/mpc8572ds/mpc8572ds.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mpc8572ds/mpc8572ds.c +2 -1
index 59d7519..7da70fe 100644
@@ -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
 
Signature · 1 line
1.6.0.6