summaryrefslogtreecommitdiffstats
path: root/post/rules.mk
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-10-11 22:44:30 +0000
committerWolfgang Denk <wd@denx.de>2011-10-15 22:16:53 +0200
commit0da1fb03c588eebd6287b3fc7d06bf01b0588d89 (patch)
tree740db526f8ef4a1aa4055140c6d78b325d66e50b /post/rules.mk
parent4f1ec4c176810bbc60e7142336b2bd74eac3bec1 (diff)
downloadblackbird-obmc-uboot-0da1fb03c588eebd6287b3fc7d06bf01b0588d89.tar.gz
blackbird-obmc-uboot-0da1fb03c588eebd6287b3fc7d06bf01b0588d89.zip
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>
Diffstat (limited to 'post/rules.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud