commit | ec21aee653a32a72909450c2e66b26668d5f3242 | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Fri Jun 17 06:20:25 2016 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Thu Jul 28 13:27:17 2016 +0200 |
tree | e1411afc32f182d36afd1f379352a1158aacf1ca | |
parent | 5c34c2abb86a8e74234390300e4c852603b11621 [diff] [blame] |
pci: allow disabling of pci init/enum via env Signed-off-by: Tim Harvey <tharvey@gateworks.com>
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 4b73a0f..6b36c18 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c
@@ -458,6 +458,10 @@ { hose_head = NULL; + /* allow env to disable pci init/enum */ + if (getenv("pcidisable") != NULL) + return; + /* now call board specific pci_init()... */ pci_init_board(); }