[U-Boot-Users] v1.1.0, omap boards and udelay()

Wolfgang Denk wd at denx.de
Mon Apr 26 13:03:35 CEST 2004

In message <408CD6F3.7030903 at mpc-data.co.uk> you wrote:
> 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? 

Agreed. Can you please submit a patch?

[Sorry, I don't have any such hardware here any  more,  so  I  cannot
test anything myself.]

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Anyone who doesn't believe in miracles is not a realist.
                                                   - David Ben Gurion

More information about the U-Boot mailing list