From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Wozniak Date: Tue, 05 Apr 2005 18:52:18 -0400 Subject: [U-Boot-Users] OCOTEA get_timer() bug In-Reply-To: <42529BD0.4010201@sandburst.com> References: <42485A32.6090501@mc.com> <42529BD0.4010201@sandburst.com> Message-ID: <425316A2.3070808@mc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > >