]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: highbank: fix get_tbclk value to timer rate
authorRob Herring <rob.herring@calxeda.com>
Thu, 13 Jun 2013 03:24:48 +0000 (22:24 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 25 Jul 2013 06:15:25 +0000 (08:15 +0200)
get_tbclk should return the timer's frequency, not CONFIG_SYS_HZ.

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

index 0f985e298b591307668000045f3560a6c3b67604..da33d3c3e57e842e8a02251ee62c26ce998b62f1 100644 (file)
@@ -124,5 +124,5 @@ ulong get_timer_masked(void)
 
 ulong get_tbclk(void)
 {
-       return CONFIG_SYS_HZ;
+       return SYSTIMER_RATE;
 }