From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Wed, 15 May 2013 14:56:10 -0500 Subject: [U-Boot] [PATCH 04/10] ARM: highbank: fix get_tbclk value to timer rate In-Reply-To: <1368647776-12940-1-git-send-email-robherring2@gmail.com> References: <1368647776-12940-1-git-send-email-robherring2@gmail.com> Message-ID: <1368647776-12940-4-git-send-email-robherring2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Rob Herring get_tbclk should return the timer's frequency, not CONFIG_SYS_HZ. Signed-off-by: Rob Herring --- arch/arm/cpu/armv7/highbank/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 1.8.1.2