diff options
Diffstat (limited to 'cpu/leon3')
-rw-r--r-- | cpu/leon3/cpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/leon3/cpu.c b/cpu/leon3/cpu.c index 306a210..1725fdb 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 |