Ver código fonte

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

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 15 anos atrás
pai
commit
b560ab85ed
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      board/freescale/mpc8572ds/mpc8572ds.c

+ 2 - 1
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