commit | 98861fffc6d26194ebbfc870663dfb3bb4cdd2f7 | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Wed Jun 12 22:24:48 2013 -0500 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Thu Jul 25 08:15:25 2013 +0200 |
tree | be5e6935f26e27b0e8039d0cea22ed7e29c215d3 | |
parent | b184c734d603f5c559bac2c52b986537f2a45a51 [diff] [blame] |
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>
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_tbclk(void) { - return CONFIG_SYS_HZ; + return SYSTIMER_RATE; }