projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c34c2a
)
pci: allow disabling of pci init/enum via env
author
Tim Harvey
<tharvey@gateworks.com>
Fri, 17 Jun 2016 13:20:25 +0000
(06:20 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 28 Jul 2016 11:27:17 +0000
(13:27 +0200)
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
4b73a0f
..
6b36c18
100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-458,6
+458,10
@@
void pci_init(void)
{
hose_head = NULL;
+ /* allow env to disable pci init/enum */
+ if (getenv("pcidisable") != NULL)
+ return;
+
/* now call board specific pci_init()... */
pci_init_board();
}