[RFC] MPC5200 Kernel/UBoot PCI problem

Dale Farnsworth dale at farnsworth.org
Sat Mar 26 00:02:44 EST 2005


On Fri, Mar 25, 2005 at 12:32:34PM +0000, Andrey Volkov wrote:
> >Board started, after I add udelay(7) in read/write config. Really strange.
> 
> Sylvain, answer was in PCI2.2 specification, not in manual.
> 
> Wolfgang, as I see, you use same trick in u-boot, as Sylvain suggested 
> to me. IMHO this trick is wrong. Below I explain why.
> 
> When I insert udelay(1000) after deassertion of RST# (write 0 to PR of 
> PCIGSCR), AND remove ALL delays from read/write config, board started 
> too ;). Hence problem not in the MPC, but in slow board(s) (re)start
> (I was lucky with my board, because udelay must be 1000000).

Good catch Andrey!

-Dale



More information about the Linuxppc-embedded mailing list