From ca523c1cf685e527a9531e5d03111e4a0fe67f9d Mon Sep 17 00:00:00 2001 From: Abhishek Shah Date: Wed, 1 Jul 2020 18:55:03 +0530 Subject: [PATCH] drivers: pcie: Do not enable PCIe RC module shell for endpoint PCIe shell was enabled by default if shell is enabled in below commit: commit ee985d81aa34 ("shell: enable modules by default if shell is enabled"). However, this shell file has tests for PCIe RC, not applicable to EP. So, should not be default enabled for PCIe EP. If we add EP shell tests in future, they should be added under drivers/pcie/endpoint/ directory. Signed-off-by: Abhishek Shah --- drivers/pcie/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.