]> git.sur5r.net Git - u-boot/commitdiff
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 b7b0da98a4d392d7d454b4436dc5053f6564d154..a8f7462c1b75aca4a9687852eec274a845a706c2 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;
+}