aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-26 22:12:36 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-08-26 22:12:36 -0700
commitb31da88b9c160d80d42a59cbbb31e24f27184d5c (patch)
tree593de216448ba95353fa4f3a2381cf058cde08d1 /cpu
parentb5710d9974f6f0f3ddb4e67d6cccc262ab37049e (diff)
Moved initialization of FSL_MCDMAFEC Ethernet driver to CPU directory
Added a cpu_eth_init() function to cpu/mcf547x_8x directory and removed code from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mcf547x_8x/cpu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu/mcf547x_8x/cpu.c b/cpu/mcf547x_8x/cpu.c
index 528bca6bf..e29b45c4c 100644
--- a/cpu/mcf547x_8x/cpu.c
+++ b/cpu/mcf547x_8x/cpu.c
@@ -141,3 +141,12 @@ int watchdog_init(void)
return (0);
}
#endif /* CONFIG_HW_WATCHDOG */
+
+#if defined(CONFIG_FSLDMAFEC)
+extern int mcdmafec_initialize(bd_t *bis);
+
+int cpu_eth_init(bd_t *bis)
+{
+ return mcdmafec_initialize(bis);
+}
+#endif