Browse Source

MX27: add missing get_tbclk()

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 13 years ago
parent
commit
63b1e004f5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/arm/cpu/arm926ejs/mx27/timer.c

+ 5 - 0
arch/arm/cpu/arm926ejs/mx27/timer.c

@@ -171,3 +171,8 @@ void __udelay(unsigned long usec)
 	while (get_ticks() < tmp)	/* loop till event */
 		 /*NOP*/;
 }
+
+ulong get_tbclk(void)
+{
+	return CONFIG_MX27_CLK32;
+}