diff options
author | Simon Glass | 2019-09-25 08:56:13 -0600 |
---|---|---|
committer | Bin Meng | 2019-10-08 13:57:42 +0800 |
commit | 90c668605fa81ab5046a8b05c7a1fa858811d4bf (patch) | |
tree | 8474adcc13388dbb8f4d1f48656f74e26378068c | |
parent | 0911569b285c82dcda166c46d689bc561272995c (diff) |
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>
-rw-r--r-- | drivers/pci/pci-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; -#ifdef CONFIG_PCI_PNP +#if CONFIG_IS_ENABLED(PCI_PNP) ret = pci_auto_config_devices(bus); if (ret < 0) return ret; |