Re: [RFC] MPC5200 Kernel/UBoot PCI problem
From: Dale Farnsworth <hidden>
Date: 2005-03-25 13:02:47
From: Dale Farnsworth <hidden>
Date: 2005-03-25 13:02:47
On Fri, Mar 25, 2005 at 12:32:34PM +0000, Andrey Volkov wrote:
quoted
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