Generic udelay() with watchdog support
[platform/kernel/u-boot.git] / cpu / arm926ejs / omap / timer.c
index 97f9771..2ac38c4 100644 (file)
@@ -36,7 +36,6 @@
  */
 
 #include <common.h>
-#include <arm926ejs.h>
 
 #define TIMER_LOAD_VAL 0xffffffff
 
@@ -81,7 +80,7 @@ void set_timer (ulong t)
 }
 
 /* delay x useconds AND perserve advance timstamp value */
-void udelay (unsigned long usec)
+void __udelay (unsigned long usec)
 {
        ulong tmo, tmp;