From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Peverley Date: Mon, 26 Apr 2004 10:31:31 +0100 Subject: [U-Boot-Users] v1.1.0, omap boards and udelay() In-Reply-To: <20040425133908.8DA35C109F@atlas.denx.de> References: <20040425133908.8DA35C109F@atlas.denx.de> Message-ID: <408CD6F3.7030903@mpc-data.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > I implemented this fix - please check if I did it right, and if it > works as expected. Ok, I see whats going on - the udelay code relies on the MPU timer being set up and running. However, the code that relies on it is cpu-specific (interrupt.c) however the setup for the timer occurs in platform.S for the board. I would respectfully suggest if this is a prerequisite for the udelay() function this setup ought to be performed in the cpu's start.S rather than the boards platform.S? I'll get this fixed and implemented (in the current platform.S way) for the 730/P2 before submitting my patch back. Best Wishes, Dave Peverley --------------------------------------------------------------------------- Dave Peverley, Software Engineer, MPC Data Limited. Phone : [+44] (0) 1225 868 228 Web : http://www.mpc-data.co.uk