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