[U-Boot] [PATCH 029/126] pci: Disable autoconfig in SPL

Simon Glass sjg at chromium.org
Wed Sep 25 14:56:13 UTC 2019

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 at chromium.org>

 drivers/pci/pci-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index 4c84c656856..896cb6b23a1 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -983,7 +983,7 @@ static int pci_uclass_post_probe(struct udevice *bus)
 	if (ret)
 		return ret;
 	ret = pci_auto_config_devices(bus);
 	if (ret < 0)
 		return ret;

More information about the U-Boot mailing list