projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185a5bb
)
ARM: highbank: fix get_tbclk value to timer rate
author
Rob Herring
<rob.herring@calxeda.com>
Thu, 13 Jun 2013 03:24:48 +0000
(22:24 -0500)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/highbank/timer.c
b/arch/arm/cpu/armv7/highbank/timer.c
index 0f985e298b591307668000045f3560a6c3b67604..da33d3c3e57e842e8a02251ee62c26ce998b62f1 100644
(file)
--- 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
;
}