From: Rob Herring Date: Thu, 13 Jun 2013 03:24:48 +0000 (-0500) Subject: ARM: highbank: fix get_tbclk value to timer rate X-Git-Tag: v2013.10-rc1~22^2~86 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=ec0e413f934fd70968b4ca0daa530cbe8f5cdb4f 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 --- diff --git a/arch/arm/cpu/armv7/highbank/timer.c b/arch/arm/cpu/armv7/highbank/timer.c index 0f985e298b..da33d3c3e5 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; }