diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-10 10:31:26 -0400 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-30 03:12:57 -0400 |
commit | 9479f7cc91879c6ba75e70da41c4c9fe7842b342 (patch) | |
tree | 96561bc186f1fa75b9a99ac974825d287204347d | |
parent | c028e175713698b88694c2075853963d07c81c13 (diff) |
soc: samsung: pm_domains: Enable COMPILE_TEST for build coverage
Introduce a platform selectable symbol EXYNOS_PM_DOMAINS which can be
also toggled on by COMPILE_TEST for some build coverage.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 1 | ||||
-rw-r--r-- | drivers/soc/samsung/Kconfig | 4 | ||||
-rw-r--r-- | drivers/soc/samsung/Makefile | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index e65aa7d11b20..58b334f5f1d6 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -19,6 +19,7 @@ menuconfig ARCH_EXYNOS | |||
19 | select EXYNOS_THERMAL | 19 | select EXYNOS_THERMAL |
20 | select EXYNOS_PMU | 20 | select EXYNOS_PMU |
21 | select EXYNOS_SROM | 21 | select EXYNOS_SROM |
22 | select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS | ||
22 | select HAVE_ARM_SCU if SMP | 23 | select HAVE_ARM_SCU if SMP |
23 | select HAVE_S3C2410_I2C if I2C | 24 | select HAVE_S3C2410_I2C if I2C |
24 | select HAVE_S3C2410_WATCHDOG if WATCHDOG | 25 | select HAVE_S3C2410_WATCHDOG if WATCHDOG |
diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig index d7fc123006a3..245533907d1b 100644 --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig | |||
@@ -10,4 +10,8 @@ config EXYNOS_PMU | |||
10 | bool "Exynos PMU controller driver" if COMPILE_TEST | 10 | bool "Exynos PMU controller driver" if COMPILE_TEST |
11 | depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST) | 11 | depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST) |
12 | 12 | ||
13 | config EXYNOS_PM_DOMAINS | ||
14 | bool "Exynos PM domains" if COMPILE_TEST | ||
15 | depends on PM_GENERIC_DOMAINS || COMPILE_TEST | ||
16 | |||
13 | endif | 17 | endif |
diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile index 8aead5835def..3619f2ecddaa 100644 --- a/drivers/soc/samsung/Makefile +++ b/drivers/soc/samsung/Makefile | |||
@@ -1,3 +1,3 @@ | |||
1 | obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o exynos3250-pmu.o exynos4-pmu.o \ | 1 | obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o exynos3250-pmu.o exynos4-pmu.o \ |
2 | exynos5250-pmu.o exynos5420-pmu.o | 2 | exynos5250-pmu.o exynos5420-pmu.o |
3 | obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o | 3 | obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o |