summaryrefslogtreecommitdiff
path: root/src/device/pciexp_device.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-24 20:37:47 -0500
committerPeter Stuge <peter@stuge.se>2015-10-25 04:49:31 +0100
commit785b3eb6e8fcafb38395eec00f4f0fc0e906c7cc (patch)
tree4040859ab272024f17f2b4a87419120ce45e35b3 /src/device/pciexp_device.c
parent7d8a478e706aae6b4806d2f00d58181e11642277 (diff)
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>
Diffstat (limited to 'src/device/pciexp_device.c')
-rw-r--r--src/device/pciexp_device.c2
1 files changed, 2 insertions, 0 deletions
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) {