summaryrefslogtreecommitdiffstats
path: root/board/pm856/pm856.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm856/pm856.c')
-rw-r--r--board/pm856/pm856.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/pm856/pm856.c b/board/pm856/pm856.c
index bd4c0651ae..ee33286aca 100644
--- a/board/pm856/pm856.c
+++ b/board/pm856/pm856.c
@@ -34,6 +34,7 @@
#include <ioports.h>
#include <spd_sdram.h>
#include <miiphy.h>
+#include <netdev.h>
#if defined(CONFIG_DDR_ECC)
extern void ddr_enable_ecc(unsigned int dram_size);
@@ -444,3 +445,9 @@ pci_init_board(void)
pci_mpc85xx_init(&hose);
#endif /* CONFIG_PCI */
}
+
+int board_eth_init(bd_t *bis)
+{
+ cpu_eth_init(bis); /* Intialize TSECs first */
+ return pci_eth_init(bis);
+}
OpenPOWER on IntegriCloud