]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/tegra2/timer.c
Timer: Remove reset_timer_masked()
[u-boot] / arch / arm / cpu / armv7 / tegra2 / timer.c
index 4458de9138c7ec370a93e3e1512ae881ad1dd5b6..0b9fa6418ce0951cb365517358d6473bd056677d 100644 (file)
@@ -48,11 +48,6 @@ struct timerus *timer_base = (struct timerus *)NV_PA_TMRUS_BASE;
 #define TIMER_LOAD_VAL 0xffffffff
 
 /* timer without interrupts */
-void reset_timer(void)
-{
-       reset_timer_masked();
-}
-
 ulong get_timer(ulong base)
 {
        return get_timer_masked() - base;
@@ -74,13 +69,6 @@ void __udelay(unsigned long usec)
        }
 }
 
-void reset_timer_masked(void)
-{
-       /* reset time, capture current incrementer value time */
-       gd->lastinc = readl(&timer_base->cntr_1us) / (TIMER_CLK/CONFIG_SYS_HZ);
-       gd->tbl = 0;            /* start "advancing" time stamp from 0 */
-}
-
 ulong get_timer_masked(void)
 {
        ulong now;