[U-Boot] [PATCH 1/1 v3] console: USB: KBD: Fix incorrect autoboot timeout

Jon Hunter jon-hunter at ti.com
Thu Mar 21 16:17:22 CET 2013


On 03/21/2013 01:57 AM, Wolfgang Denk wrote:
> Dear Stephen Warren,
> 
> In message <514AA642.3090107 at wwwdotorg.org> you wrote:
>>
>> Interesting. I just noticed the same problem, and posted the following
>> patch to fix it:
>>
>> http://lists.denx.de/pipermail/u-boot/2013-March/149625.html
>>
>> This was on the Raspberry Pi.
> 
> You mean the Raspberry Pi uses SYS_HZ != 1000 ???
> 
> This needs fixing!!

I understand that you may wish to have SYS_HZ == 1000, but shouldn't the
code still normalise the get_timer() value to SYS_HZ?

If I grep through the u-boot source I see a lot of instances where
get_timer() is normalised to SYS_HZ.

grep -r "get_timer" * | grep "SYS_HZ"

Cheers
Jon


More information about the U-Boot mailing list