Subject: Re: [RFC] MPC5200 Kernel/UBoot PCI problem

From: Sylvain Munaut <[email-masked]>
Date: Fri, 25 Mar 2005 15:00:28 +0100

Hi Andrey,

Andrey Volkov wrote:
>>> Try adding some delays in the pci configuration zone access routines 
>>> in mpc52xx_pci.c  I remember someone needed those but still don't 
>>> know why, the manual don't say anything about that.
>>
>>
>> Board started, after I add udelay(7) in read/write config. Really 
>> strange.
> 
> 
> Sylvain, answer was in PCI2.2 specification, not in manual.
> 

Indeed good catch ! Never imagined the delay was so long.

It should be possible to use the sched_clock(void) to know if we're
booting since long enough, because just waiting 1 full second is ... long.

	Sylvain