]> 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 2761c12be0de29370c19630dbc335d08b350506b..0b9fa6418ce0951cb365517358d6473bd056677d 100644 (file)
@@ -69,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;