]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm926ejs/versatile/timer.c
arm: Move tbl to arch_global_data
[u-boot] / arch / arm / cpu / arm926ejs / versatile / timer.c
index 2e243b196eb7c46e90d198b9a51431d092dc6ce6..be73b932960075aa9d642af276b450db1506ccf4 100644 (file)
@@ -44,7 +44,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define timestamp gd->tbl
+#define timestamp gd->arch.tbl
 #define lastdec gd->lastinc
 
 #define TIMER_ENABLE   (1 << 7)
@@ -94,22 +94,11 @@ int timer_init (void)
 /*
  * timer without interrupts
  */
-
-void reset_timer (void)
-{
-       reset_timer_masked ();
-}
-
 ulong get_timer (ulong base)
 {
        return get_timer_masked () - base;
 }
 
-void set_timer (ulong t)
-{
-       timestamp = t;
-}
-
 /* delay x useconds AND preserve advance timestamp value */
 void __udelay (unsigned long usec)
 {