aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-07-24 21:27:26 +0200
committerHeinrich Schuchardt2023-07-30 18:52:30 +0200
commit8d2c311ce64939fe829037e4ef7951c3fafaee06 (patch)
tree981c317db55e4519fa427e78c8b15698b359b202 /drivers
parentd62e7b8059847a06bc0f2222643425bff775320b (diff)
spl: CONFIG_SPL_PCI_PNP should depend on CONFIG_SPL_PCI
CONFIG_SPL_PCI_PNP=y without CONFIG_SPL_PCI=y makes no sense. Fixes: 32f5e9e5c1a7 ("nvme: pci: Enable for SPL") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index aca439d9213..93e6f500000 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -41,7 +41,8 @@ config PCI_PNP
Enable PCI memory and I/O space resource allocation and assignment.
config SPL_PCI_PNP
- bool "Enable Plug & Play support for PCI"
+ bool "Enable Plug & Play support for PCI in SPL"
+ depends on SPL_PCI
help
Enable PCI memory and I/O space resource allocation and assignment.