From 0373a7e91b1fc1c3652669a4481219daf06e12e9 Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Fri, 8 May 2015 15:16:07 -0700 Subject: [PATCH] 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 --- drivers/pci/pci.c | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.30.2