PXA: Fix missing get_tbclk() breaking vpac boards
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 27 Feb 2012 12:59:47 +0000 (13:59 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 26 Mar 2012 21:09:23 +0000 (23:09 +0200)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
arch/arm/cpu/pxa/timer.c

index b7b0da9..a8f7462 100644 (file)
@@ -94,3 +94,8 @@ void __udelay(unsigned long usec)
        while (get_ticks() < tmp)       /* loop till event */
                 /*NOP*/;
 }
+
+ulong get_tbclk(void)
+{
+       return TIMER_FREQ_HZ;
+}