summaryrefslogtreecommitdiffstats
path: root/board/freescale/m5253demo
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/m5253demo')
-rw-r--r--board/freescale/m5253demo/m5253demo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/m5253demo/m5253demo.c b/board/freescale/m5253demo/m5253demo.c
index b39cd4d7a5..4772074d81 100644
--- a/board/freescale/m5253demo/m5253demo.c
+++ b/board/freescale/m5253demo/m5253demo.c
@@ -26,6 +26,7 @@
#include <common.h>
#include <asm/immap.h>
+#include <netdev.h>
int checkboard(void)
{
@@ -138,3 +139,11 @@ void ide_set_reset(int idereset)
}
}
#endif /* CONFIG_CMD_IDE */
+
+
+#ifdef CONFIG_DRIVER_DM9000
+int board_eth_init(bd_t *bis)
+{
+ return dm9000_initialize(bis);
+}
+#endif
OpenPOWER on IntegriCloud