pci: Disable autoconfig in SPL
At present U-Boot runs autoconfig in SPL but this is best left to U-Boot proper. For TPL and SPL we can normally used fixed BARs and save code size and time. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
0911569b28
commit
90c668605f
@ -983,7 +983,7 @@ static int pci_uclass_post_probe(struct udevice *bus)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
#ifdef CONFIG_PCI_PNP
|
||||
#if CONFIG_IS_ENABLED(PCI_PNP)
|
||||
ret = pci_auto_config_devices(bus);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user