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>
master
Rob Herring 12 years ago committed by Albert ARIBAUD
parent 185a5bb0f5
commit ec0e413f93
  1. 2
      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;
}

Loading…
Cancel
Save