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>
#
# 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