[U-Boot-Users] OCOTEA get_timer() bug

Andrew Wozniak awozniak at mc.com
Wed Apr 6 00:52:18 CEST 2005


Travis,

Thanks for looking into this. I'll post a patch - when I figure out how 
to create a patch file. Haven't done anything like that yet.

-andy


Travis B. Sawyer wrote:
> Andrew Wozniak wrote:
> 
>> I found this bug a while ago and have finally gotten around to looking 
>> at it because I needed its service.
>>
>> I've tested the following and propose it as a fix, replace this:
>>   val = gd->bd->bi_intfreq/100;     /* 10 msec */
>> with:
>>   val = gd->bd->bi_intfreq/1000; /* 1 msec */
>>
>> I've also tested some of the network related functions to insure that 
>> no timeout conditions have appeared.
>>
>> I want to post this patch but would prefer a code review from those 
>> that are more familiar with get_timer() use within the OCOTEA codebase.
>>
>> Sorry for the long post, Andrew
>>
> Andrew et al:
> 
> Make a patch, it gets my sign off (for what it's worth ;)
> 
> -travis
> 
> 
> 




More information about the U-Boot mailing list