summaryrefslogtreecommitdiff
path: root/board/esd/mecp5200/mecp5200.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/mecp5200/mecp5200.c')
-rw-r--r--board/esd/mecp5200/mecp5200.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/esd/mecp5200/mecp5200.c b/board/esd/mecp5200/mecp5200.c
index 6d776b7a63..ff44abdac5 100644
--- a/board/esd/mecp5200/mecp5200.c
+++ b/board/esd/mecp5200/mecp5200.c
@@ -32,6 +32,7 @@
#include <mpc5xxx.h>
#include <pci.h>
#include <command.h>
+#include <netdev.h>
#include "mt46v16m16-75.h"
@@ -259,3 +260,8 @@ void init_power_switch(void)
__asm__ volatile ("sync");
}
}
+
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}