]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm920t/at91/timer.c
Timer: Remove reset_timer_masked()
[people/ms/u-boot.git] / arch / arm / cpu / arm920t / at91 / timer.c
index 374cc2553d850a56bdf0db81ac89666207002943..c321e286405272ad3d6f8a6e590185be77e60f7b 100644 (file)
@@ -82,14 +82,6 @@ void __udelay(unsigned long usec)
        udelay_masked(usec);
 }
 
-void reset_timer_masked(void)
-{
-       /* reset time */
-       at91_tc_t *tc = (at91_tc_t *) ATMEL_BASE_TC;
-       gd->lastinc = readl(&tc->tc[0].cv) & 0x0000ffff;
-       gd->tbl = 0;
-}
-
 ulong get_timer_raw(void)
 {
        at91_tc_t *tc = (at91_tc_t *) ATMEL_BASE_TC;