summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-07-27 00:33:39 -0700
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:38 -0600
commitdf189d9ba3f8fd1bc67e3c0c3c4ace16cd065ee1 (patch)
tree223ad820d108d4f2b0c6e5ed3c1607ea729e5e28 /drivers/pci
parente22b1a54942d9003b10564325a34e3cf767556ce (diff)
downloadtalos-obmc-uboot-df189d9ba3f8fd1bc67e3c0c3c4ace16cd065ee1.tar.gz
talos-obmc-uboot-df189d9ba3f8fd1bc67e3c0c3c4ace16cd065ee1.zip
dm: pci: Allow scan bridge child devices before relocation
On some platforms pci devices behind bridge need to be probed (eg: a pci uart on recent x86 chipset) before relocation. Remove such limitation so that dm pci can be used before relocation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci-uclass.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index c7d93f92d6..6262f352c9 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -641,10 +641,6 @@ static int pci_uclass_post_probe(struct udevice *bus)
{
int ret;
- /* Don't scan buses before relocation */
- if (!(gd->flags & GD_FLG_RELOC))
- return 0;
-
debug("%s: probing bus %d\n", __func__, bus->seq);
ret = pci_bind_bus_devices(bus);
if (ret)
OpenPOWER on IntegriCloud