aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-04-25 13:56:11 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-04-25 13:56:11 +0530
commitb43dec5792b30ec63e20c3b6a541e2aa2575f571 (patch)
tree9ee2352f2e235680313474eb6cc34e58a8565509
parent4dae587e4b1f92d02959ea9296c88304e8860d93 (diff)
download96b-common-b43dec5792b30ec63e20c3b6a541e2aa2575f571.tar.gz
pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
Make the BM1880 SoC pinctrl driver depend on COMPILE_TEST to get compiler test coverage and also select this driver by default for ARCH_BITMAIN platform. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--drivers/pinctrl/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index c4ac4bf1e1e4..19d8af9a36a2 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -110,7 +110,8 @@ config PINCTRL_AMD
config PINCTRL_BM1880
bool "Bitmain BM1880 Pinctrl driver"
- depends on ARCH_BITMAIN
+ depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
+ default ARCH_BITMAIN
select PINMUX
help
Pinctrl driver for Bitmain BM1880 SoC.