From 785b3eb6e8fcafb38395eec00f4f0fc0e906c7cc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 24 Oct 2015 20:37:47 -0500 Subject: device/pciexp_device: Tune PCIe bridges before scanning children Change-Id: Ieccafe8864d622c651e6a524e9898505ded15e54 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/12187 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Peter Stuge --- src/device/pciexp_device.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/device') diff --git a/src/device/pciexp_device.c b/src/device/pciexp_device.c index aa3a457541..1fdcab364c 100644 --- a/src/device/pciexp_device.c +++ b/src/device/pciexp_device.c @@ -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) { -- cgit v1.2.3