]> git.sur5r.net Git - u-boot/commitdiff
pci: display header for bus scan
authorTim Harvey <tharvey@gateworks.com>
Fri, 8 May 2015 22:16:07 +0000 (15:16 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 May 2015 17:35:54 +0000 (13:35 -0400)
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>
drivers/pci/pci.c

index 3babd948056da4a25d58a8d593b0cc36761fcfc1..5b6c6bc34eb54c45c04c8a228891fdfd07112e9a 100644 (file)
@@ -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.