projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75648d
)
pci: display header for bus scan
author
Tim Harvey
<tharvey@gateworks.com>
Fri, 8 May 2015 22:16:07 +0000
(15:16 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 3babd948056da4a25d58a8d593b0cc36761fcfc1..5b6c6bc34eb54c45c04c8a228891fdfd07112e9a 100644
(file)
--- 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.