[PATCH v2 1/1] spl: CONFIG_SPL_PCI_PNP should depend on CONFIG_SPL_PCI

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Jul 24 21:27:26 CEST 2023


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 at canonical.com>
---
v2:
	Keep CONFIG_SPL_PCI_PNP in drivers/pci/Kconfig
	Add ' in SPL' to label
---
 drivers/pci/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index aca439d921..d2356cb91e 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.
 
-- 
2.40.1



More information about the U-Boot mailing list