summaryrefslogtreecommitdiff
path: root/cpu/leon2
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/leon2')
-rw-r--r--cpu/leon2/cpu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu/leon2/cpu.c b/cpu/leon2/cpu.c
index 1c1e24b..5de1c52 100644
--- a/cpu/leon2/cpu.c
+++ b/cpu/leon2/cpu.c
@@ -56,3 +56,12 @@ int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
}
/* ------------------------------------------------------------------------- */
+
+extern int greth_initialize(bd_t *bis);
+
+#ifdef CONFIG_GRETH
+int cpu_eth_init(bd_t *bis)
+{
+ return greth_initialize(bis);
+}
+#endif