]> 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 0e51a6383069ca03d903b4038f516479f4e4876b..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,12 +94,6 @@ int timer_init (void)
 /*
  * timer without interrupts
  */
-
-void reset_timer (void)
-{
-       reset_timer_masked ();
-}
-
 ulong get_timer (ulong base)
 {
        return get_timer_masked () - base;