Browse Source

PXA: Fix missing get_tbclk() breaking vpac boards

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Marek Vasut 13 years ago
parent
commit
30a14ea2b1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/arm/cpu/pxa/timer.c

+ 5 - 0
arch/arm/cpu/pxa/timer.c

@@ -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;
+}