All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency.
Date: Thu, 15 Dec 2011 07:23:43 +0100	[thread overview]
Message-ID: <4EE9926F.1010308@denx.de> (raw)
In-Reply-To: <1323876008-32566-1-git-send-email-manfred.rudigier@omicron.at>

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

      parent reply	other threads:[~2011-12-15  6:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE9926F.1010308@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.