[U-Boot] [PATCH v2] 85xx: Init pci ethernet cards if we enable any on MPC8572DS

Kumar Gala galak at kernel.crashing.org
Fri Aug 14 20:51:49 CEST 2009


Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
* Make it build by include netdev.h

 board/freescale/mpc8572ds/mpc8572ds.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c
index 59d7519..7da70fe 100644
--- a/board/freescale/mpc8572ds/mpc8572ds.c
+++ b/board/freescale/mpc8572ds/mpc8572ds.c
@@ -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
 
-- 
1.6.0.6



More information about the U-Boot mailing list