u-boot/drivers/pci
Anatolij Gustschin 0da1fb03c5 pci: move pcidelay code to new location just before PCI bus scan
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 <agust@denx.de>
Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Tested-by: Matthias Fuchs <matthias.fuchs@esd.eu>
2011-10-15 22:16:53 +02:00
..
fsl_pci_init.c cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
pci_auto.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_indirect.c IXP42x PCI rewrite 2011-06-23 08:25:18 +02:00
pci_ixp.c IXP42x PCI rewrite 2011-06-23 08:25:18 +02:00
pci_sh4.c sh: Move cpu/$CPU to arch/sh/cpu/$CPU 2010-04-13 09:13:17 +02:00
pci_sh7751.c sh: r2dplus fix register access 2008-12-10 23:11:36 +09:00
pci_sh7780.c sh: Add some register value configurable to PCI of SH7780 2009-03-12 23:58:30 +09:00
pci.c pci: move pcidelay code to new location just before PCI bus scan 2011-10-15 22:16:53 +02:00
tsi108_pci.c 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
w83c553f.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00