summaryrefslogtreecommitdiffstats
path: root/board/purple/purple.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/purple/purple.c')
-rw-r--r--board/purple/purple.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/purple/purple.c b/board/purple/purple.c
index 9775591129..c129d7a109 100644
--- a/board/purple/purple.c
+++ b/board/purple/purple.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <command.h>
+#include <netdev.h>
#include <asm/inca-ip.h>
#include <asm/regdef.h>
#include <asm/mipsregs.h>
@@ -274,3 +275,11 @@ void copy_code (ulong dest_addr)
start += CFG_CACHELINE_SIZE;
}
}
+
+#ifdef CONFIG_PLB2800_ETHER
+int board_eth_init(bd_t *bis)
+{
+ return plb2800_eth_initialize(bis);
+}
+#endif
+