* [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* [U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency.
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
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2011-12-14 16:03 UTC (permalink / raw)
To: u-boot
On 12/14/2011 08:20 AM, Manfred Rudigier wrote:
>
> 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
Applied to u-boot-ti/master, thanks.
--
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency.
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
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2011-12-15 6:23 UTC (permalink / raw)
To: u-boot
Hello Manfred,
Manfred Rudigier wrote:
> 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
Tested on the cam_enc_4x board, thanks!
Also too late, but:
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [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