device/pciexp_device: Tune PCIe bridges before scanning children

Change-Id: Ieccafe8864d622c651e6a524e9898505ded15e54
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/12187
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Timothy Pearson 2015-10-24 20:37:47 -05:00 committed by Peter Stuge
parent 7d8a478e70
commit 785b3eb6e8

View file

@ -426,6 +426,8 @@ void pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
{
device_t child;
pciexp_tune_dev(bus->dev);
pci_scan_bus(bus, min_devfn, max_devfn);
for (child = bus->children; child; child = child->sibling) {