summaryrefslogtreecommitdiff
path: root/cpu/leon3/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/leon3/cpu.c')
-rw-r--r--cpu/leon3/cpu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/leon3/cpu.c b/cpu/leon3/cpu.c
index 306a210048..1725fdb090 100644
--- a/cpu/leon3/cpu.c
+++ b/cpu/leon3/cpu.c
@@ -65,3 +65,11 @@ u64 flash_read64(void *addr)
}
/* ------------------------------------------------------------------------- */
+extern int greth_initialize(bd_t *bis);
+
+#ifdef CONFIG_GRETH
+int cpu_eth_init(bd_t *bis)
+{
+ return greth_initialize(bis);
+}
+#endif