public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ
Date: Fri, 22 Mar 2013 15:18:38 -0600	[thread overview]
Message-ID: <514CCAAE.6020909@wwwdotorg.org> (raw)
In-Reply-To: <20130322211203.BA4752014CE@gemini.denx.de>

On 03/22/2013 03:12 PM, Wolfgang Denk wrote:
> Dear Stephen,
> 
> In message <1363923692-12748-1-git-send-email-swarren@wwwdotorg.org> you wrote:
>> CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return mS.
>> Document this.
> 
> "must return mS" ? "mS" means Milli-Siemens, which is a unit of
> electric conductance and electric admittance.  You mean "ms" =
> milliseconds ...

It seems that's true.

>> +- CPU timer options:
>> +		CONFIG_SYS_HZ
>> +
>> +		The frequency of the timer returned by get_timer(). This value
>> +		MUST be 1000.
> 
> This is misleading, or even incorrect.  If I read this, I would expect
> that get_timer() returns 1000. Obviously, this is incorrect.  Instead,
> get_timer() returns timestamp information in millisecond resolution.

That is not what that sentence means.

  reply	other threads:[~2013-03-22 21:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22  3:41 [U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ Stephen Warren
2013-03-22 21:12 ` Wolfgang Denk
2013-03-22 21:18   ` Stephen Warren [this message]
2013-03-22 21:41     ` Wolfgang Denk
2013-03-27 20:01       ` Tom Rini

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=514CCAAE.6020909@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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