From: Rob Herring Date: Tue, 21 Feb 2012 12:52:27 +0000 (+0000) Subject: ARM: highbank: add missing get_tbclk X-Git-Tag: v2012.04-rc1~19^2~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1e2d1762dd727e43e22a474f0935475f77c19a5;p=u-boot ARM: highbank: add missing get_tbclk 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 --- diff --git a/arch/arm/cpu/armv7/highbank/timer.c b/arch/arm/cpu/armv7/highbank/timer.c index d8a02888a2..d92503f751 100644 --- a/arch/arm/cpu/armv7/highbank/timer.c +++ b/arch/arm/cpu/armv7/highbank/timer.c @@ -121,3 +121,8 @@ ulong get_timer_masked(void) { return tick_to_time(get_ticks()); } + +ulong get_tbclk(void) +{ + return CONFIG_SYS_HZ; +}