On 12.10.2011 10:44, Anatolij Gustschin wrote: > PCI cards might need some time after reset to respond. On some > boards (mpc5200 or mpc8260 based) the PCI bus reset is deasserted > at pci_init_board() time, so we currently can not use available > "pcidelay" option for waiting before PCI bus scan since this > waiting takes place before calling pci_init_board(). By moving > the pcidelay code to the new location using of the "pcidelay" > option is possible on mpc5200 or mpc8260 based boards, too. > > Since pci_hose_scan() could be called multiple times, restrict > the function to wait only during its first call and to ignore > pcidelay for any further call (as pointed out by Matthias). > > Signed-off-by: Anatolij Gustschin <ag...@denx.de> > Cc: Matthias Fuchs <matthias.fu...@esd.eu> > --- > Changes since first version: > - extend to wait only during initial pci_hose_scan() call > as pointed out by Matthias
Tested on PMC440. Works fine. Acked-by: Matthias Fuchs <matthias.fu...@esd.eu> Matthias _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot