Thread (18 messages) 18 messages, 6 authors, 2005-03-25

Re: [RFC] MPC5200 Kernel/UBoot PCI problem

From: Sylvain Munaut <hidden>
Date: 2005-03-25 14:00:19

Hi Andrey,


Andrey Volkov wrote:
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help