public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency.
@ 2011-12-14 15:20 Manfred Rudigier
  2011-12-14 16:03 ` Tom Rini
  2011-12-15  6:23 ` Heiko Schocher
  0 siblings, 2 replies; 3+ messages in thread
From: Manfred Rudigier @ 2011-12-14 15:20 UTC (permalink / raw)
  To: u-boot


Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
---
 arch/arm/cpu/arm926ejs/davinci/timer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c
index a06d449..93c9e60 100644
--- a/arch/arm/cpu/arm926ejs/davinci/timer.c
+++ b/arch/arm/cpu/arm926ejs/davinci/timer.c
@@ -108,7 +108,7 @@ void __udelay(unsigned long usec)
  */
 ulong get_tbclk(void)
 {
-	return CONFIG_SYS_HZ;
+	return gd->timer_rate_hz;
 }
 
 #ifdef CONFIG_HW_WATCHDOG
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-15  6:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 15:20 [U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency Manfred Rudigier
2011-12-14 16:03 ` Tom Rini
2011-12-15  6:23 ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox