summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-08 15:16:07 -0700
committerTom Rini <trini@konsulko.com>2015-05-27 13:35:54 -0400
commit0373a7e91b1fc1c3652669a4481219daf06e12e9 (patch)
tree3aa6b5837c940297a261eb98eead06aa95121734 /drivers
parentc75648d75ecd164975da08110f67d2a81302f5ac (diff)
downloadtalos-obmc-uboot-0373a7e91b1fc1c3652669a4481219daf06e12e9.tar.gz
talos-obmc-uboot-0373a7e91b1fc1c3652669a4481219daf06e12e9.zip
pci: display header for bus scan
If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 3babd94805..5b6c6bc34e 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -503,6 +503,10 @@ int pci_hose_scan(struct pci_controller *hose)
}
#endif /* CONFIG_PCI_BOOTDELAY */
+#ifdef CONFIG_PCI_SCAN_SHOW
+ puts("PCI:\n");
+#endif
+
/*
* Start scan at current_busno.
* PCIe will start scan at first_busno+1.
OpenPOWER on IntegriCloud