summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-02-02 15:24:13 +0900
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-02-25 11:25:40 +0900
commitb11301d5adef74c8f8d80eb5a134cc4f3057aaa0 (patch)
tree70eccbe1e10666be7a321eec4cccdf2d5494e884 /drivers/soc
parentbf50ddcd230316ff3979c2da9e51f69455b4fb60 (diff)
drivers: soc: samsung: Enable COMPILE_TEST
Get some build coverage of Exynos PMU driver. It depends on asm/cputype.h so its compilation is limited to ARM architectures. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/samsung/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig
index 2dff95dc697d..d7fc123006a3 100644
--- a/drivers/soc/samsung/Kconfig
+++ b/drivers/soc/samsung/Kconfig
@@ -1,13 +1,13 @@
#
# SAMSUNG SoC drivers
#
-menu "Samsung SOC driver support"
+menuconfig SOC_SAMSUNG
+ bool "Samsung SoC driver support" if COMPILE_TEST
-config SOC_SAMSUNG
- bool
+if SOC_SAMSUNG
config EXYNOS_PMU
- bool
- depends on ARM && ARCH_EXYNOS
+ bool "Exynos PMU controller driver" if COMPILE_TEST
+ depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST)
-endmenu
+endif