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

Travis B. Sawyer tsawyer+u-boot at sandburst.com
Tue Apr 5 16:08:16 CEST 2005


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