summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-06-12 22:24:48 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-07-25 08:15:25 +0200
commitec0e413f934fd70968b4ca0daa530cbe8f5cdb4f (patch)
treebe5e6935f26e27b0e8039d0cea22ed7e29c215d3 /arch
parent185a5bb0f5bd4666913932cc4c4d6ffa6dd7b34b (diff)
downloadu-boot-imx-ec0e413f934fd70968b4ca0daa530cbe8f5cdb4f.zip
u-boot-imx-ec0e413f934fd70968b4ca0daa530cbe8f5cdb4f.tar.gz
u-boot-imx-ec0e413f934fd70968b4ca0daa530cbe8f5cdb4f.tar.bz2
ARM: highbank: fix get_tbclk value to timer rate
get_tbclk should return the timer's frequency, not CONFIG_SYS_HZ. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/highbank/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/highbank/timer.c b/arch/arm/cpu/armv7/highbank/timer.c
index 0f985e2..da33d3c 100644
--- a/arch/arm/cpu/armv7/highbank/timer.c
+++ b/arch/arm/cpu/armv7/highbank/timer.c
@@ -124,5 +124,5 @@ ulong get_timer_masked(void)
ulong get_tbclk(void)
{
- return CONFIG_SYS_HZ;
+ return SYSTIMER_RATE;
}