[U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ
Stephen Warren
swarren at wwwdotorg.org
Fri Mar 22 22:18:38 CET 2013
On 03/22/2013 03:12 PM, Wolfgang Denk wrote:
> Dear Stephen,
>
> In message <1363923692-12748-1-git-send-email-swarren at 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.
More information about the U-Boot
mailing list