85xx: Init pci ethernet cards if we enable any on MPC8572DS
PATCH v2 1/1 85xx: Init pci ethernet cards if we enable any on MPC8572DS
Signed-off-by Kumar Gala <[email protected]>
---
* 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
@@ -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