]> git.sur5r.net Git - u-boot/blobdiff - cpu/leon3/cpu.c
i386: Fix race condition when using SC520 timers
[u-boot] / cpu / leon3 / cpu.c
index 1725fdb090bf2399f5a4811e78275d840e092ae8..976f3113480a4edf17f1c527c7f9a8c851fcaaed 100644 (file)
@@ -25,6 +25,7 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
+#include <netdev.h>
 
 #include <asm/io.h>
 #include <asm/processor.h>
@@ -65,7 +66,6 @@ u64 flash_read64(void *addr)
 }
 
 /* ------------------------------------------------------------------------- */
-extern int greth_initialize(bd_t *bis);
 
 #ifdef CONFIG_GRETH
 int cpu_eth_init(bd_t *bis)