]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: highbank: add missing get_tbclk
authorRob Herring <rob.herring@calxeda.com>
Tue, 21 Feb 2012 12:52:27 +0000 (12:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:30:54 +0000 (23:30 +0200)
The get_tbclk function was missing and the recent commit "common: add
possibility for readline_into_buffer timeout" makes it required.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/cpu/armv7/highbank/timer.c

index d8a02888a2af578e0213a4ea3261658e5833b5ee..d92503f75126f81ac14fde2179e188133681d66c 100644 (file)
@@ -121,3 +121,8 @@ ulong get_timer_masked(void)
 {
        return tick_to_time(get_ticks());
 }
+
+ulong get_tbclk(void)
+{
+       return CONFIG_SYS_HZ;
+}