diff --git a/drivers/pcie/Kconfig b/drivers/pcie/Kconfig index 9a1d43598e2..fe1f7ea8324 100644 --- a/drivers/pcie/Kconfig +++ b/drivers/pcie/Kconfig @@ -21,7 +21,7 @@ config PCIE_MSI config PCIE_SHELL bool "Enable PCIe/new PCI Shell" default y - depends on SHELL + depends on SHELL && !PCIE_ENDPOINT help Enable commands for debugging PCI(e) using the built-in shell.