Commit df189d9b authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: default avatarBin Meng <>
Acked-by: default avatarSimon Glass <>
parent e22b1a54
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment