summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-02-21 12:52:27 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-28 23:30:54 +0200
commitf1e2d1762dd727e43e22a474f0935475f77c19a5 (patch)
tree53fb746214adf91ce208f80a755cff369d185ca3 /arch
parentbd0d90efcc348d38dedfe74c67bc6923f62bd200 (diff)
downloadu-boot-imx-f1e2d1762dd727e43e22a474f0935475f77c19a5.zip
u-boot-imx-f1e2d1762dd727e43e22a474f0935475f77c19a5.tar.gz
u-boot-imx-f1e2d1762dd727e43e22a474f0935475f77c19a5.tar.bz2
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 <rob.herring@calxeda.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/highbank/timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/highbank/timer.c b/arch/arm/cpu/armv7/highbank/timer.c
index d8a0288..d92503f 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;
+}