]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pci: display header for bus scan
authorTim Harvey <tharvey@gateworks.com>
Fri, 8 May 2015 22:16:07 +0000 (15:16 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:46:08 +0000 (22:46 +0200)
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.