]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: CONFIG_SPL_PCI_PNP should depend on CONFIG_SPL_PCI
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 24 Jul 2023 19:27:26 +0000 (21:27 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 30 Jul 2023 16:52:30 +0000 (18:52 +0200)
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>
drivers/pci/Kconfig

index aca439d92139a16f79bc9fa36045832fa5684280..93e6f5000001e59333b8acbbc3295cfa450e30d6 100644 (file)
@@ -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.