
26 Apr
2004
26 Apr
'04
1:03 p.m.
In message 408CD6F3.7030903@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@denx.de
Anyone who doesn't believe in miracles is not a realist.
- David Ben Gurion