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.schucha...@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

Reply via email to