pci: allow disabling of pci init/enum via env

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
Tim Harvey 2016-06-17 06:20:25 -07:00 committed by Stefano Babic
parent 5c34c2abb8
commit ec21aee653

View File

@ -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();
}