mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 23:11:32 +02:00
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:
@@ -983,7 +983,7 @@ static int pci_uclass_post_probe(struct udevice *bus)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#ifdef CONFIG_PCI_PNP
|
#if CONFIG_IS_ENABLED(PCI_PNP)
|
||||||
ret = pci_auto_config_devices(bus);
|
ret = pci_auto_config_devices(bus);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user