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-05-08 23:00:52 +0530
commitc15a8a78aa151b2a16efdd4a1cdee7ce50422237 (patch)
tree822e28ded925dfa62550e01de1f02199cad75b45
parent416adbf17d2fb3804eb0effd68cdc15e6f11b6e1 (diff)
download96b-common-c15a8a78aa151b2a16efdd4a1cdee7ce50422237.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.