From: Wolfgang Denk Date: Tue, 12 Apr 2005 22:05:39 +0200 Subject: [U-Boot-Users] Re: More 5282 network issues-development In-Reply-To: Your message of "Tue, 12 Apr 2005 10:51:07 CDT." <200504121051.07764.ngustavson@emacinc.com> Message-ID: <20050412200544.CDDADC108D@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <200504121051.07764.ngustavson@emacinc.com> you wrote: > > I think I see the problem, the network is expecting to be able to do ulong > delays, while the timer is only 16 bits. I'm going to monkey with the timer > code and see if I can get something set up. No matter how your timer is implemented internally, the external interface (at least as used by any code outside your cpu/*/ directory) should be based on the following rules: * Arguments are unsigned long * CFG_HZ is set to 1000 * get_timer() and udelay() operate in milliseconds Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A conservative is a man who believes that nothing should be done for the first time. - Alfred E. Wiggam