
21 Mar
2013
21 Mar
'13
4:17 p.m.
On 03/21/2013 01:57 AM, Wolfgang Denk wrote:
Dear Stephen Warren,
In message 514AA642.3090107@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