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 d8a0288..d92503f 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;
+}