rockchip: rk3288: use default value for SYS_MALLOC_F_LEN
[oweals/u-boot.git] / arch / arm / cpu / sa1100 / timer.c
index c7829c9b097438582049e1410881b9ba8f333094..0fac5c1707fd3140ba62b6332e9a3577a92a5df1 100644 (file)
 #include <common.h>
 #include <SA-1100.h>
 
-ulong get_timer (ulong base)
+static ulong get_timer_masked (void)
 {
-       return get_timer_masked ();
+       return OSCR;
 }
 
-ulong get_timer_masked (void)
+ulong get_timer (ulong base)
 {
-       return OSCR;
+       return get_timer_masked ();
 }
 
 void __udelay (unsigned long usec)