[U-Boot] [PATCH] pci: display header for bus scan

Tim Harvey tharvey at gateworks.com
Sat May 9 00:16:07 CEST 2015


If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display
a 'PCI:' header prior to scan.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 drivers/pci/pci.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index e1296ca..7f53eb0 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -772,6 +772,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.
-- 
1.9.1



More information about the U-Boot mailing list