public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ep93xx timer: Fix get_ticks() and usecs_to_ticks()
Date: Sat, 27 Feb 2010 17:41:26 -0600	[thread overview]
Message-ID: <4B89ADA6.8020304@windriver.com> (raw)
In-Reply-To: <20100226172637.GK3628@darwin>

Matthias Kaehlcke wrote:
> ep93xx timer: Make get_ticks() consistent with get_tbclk(), returning
> a value with CONFIG_SYS_HZ resolution. This fix obsoletes the function
> clk_to_systicks(), leading to a simplification of the timer code. Further
> a variable in usecs_to_ticks() is promoted to a 64-bit value, to avoid
> overflows of intermediate values.
> 
> Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
> Tested-by: Alessandro Rubini <rubini-list@gnudd.com>
> 
Please rebase.
I applied the earlier version.
I think these changes should be a much smaller patch.
Tom

  reply	other threads:[~2010-02-27 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 17:26 [U-Boot] [PATCH] ep93xx timer: Fix get_ticks() and usecs_to_ticks() Matthias Kaehlcke
2010-02-27 23:41 ` Tom [this message]
2010-02-27 23:58   ` Matthias Kaehlcke

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=4B89ADA6.8020304@windriver.com \
    --to=tom.rix@windriver.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox