projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0911569
)
pci: Disable autoconfig in SPL
author
Simon Glass
<sjg@chromium.org>
Wed, 25 Sep 2019 14:56:13 +0000
(08:56 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:42 +0000
(13:57 +0800)
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>
drivers/pci/pci-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci-uclass.c
b/drivers/pci/pci-uclass.c
index
4c84c65
..
896cb6b
100644
(file)
--- 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;
-#if
def CONFIG_PCI_PNP
+#if
CONFIG_IS_ENABLED(PCI_PNP)
ret = pci_auto_config_devices(bus);
if (ret < 0)
return ret;