aboutsummaryrefslogtreecommitdiff
path: root/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c')
-rw-r--r--board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
index 78c7b7e4e6b..d7aa1499adf 100644
--- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
+++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <miiphy.h>
+#include <netdev.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>
@@ -80,6 +81,12 @@ int checkboard(void)
return 0;
}
+int board_eth_init(bd_t *bis)
+{
+ cpu_eth_init(bis); /* Built in controller(s) come first */
+ return pci_eth_init(bis);
+}
+
#ifdef CONFIG_RESET_PHY_R
/* Configure and enable MV88E1545 PHY */
void reset_phy(void)