[PATCH] cmd: CMD_PCI depends on PCI

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
The "pci" command depends on PCI being enabled, both in terms of how
it's gated in cmd/Makefile and the command implementation itself.
Express this dependency in Kconfig.

Signed-off-by: Tom Rini <[email protected]>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4aa02dc809ad..fc121c7c2968 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1696,6 +1696,7 @@ config CMD_PART_DUPCHECK
 
 config CMD_PCI
 	bool "pci - Access PCI devices"
+	depends on PCI
 	help
 	  Provide access to PCI (Peripheral Interconnect Bus), a type of bus
 	  used on some devices to allow the CPU to communicate with its
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.