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 ee985d81aa ("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 <abhishek.shah@broadcom.com>
This commit is contained in:
Abhishek Shah 2020-07-01 18:55:03 +05:30 committed by Anas Nashif
commit ca523c1cf6

View file

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