summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2013-11-01 18:53:09 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2013-11-15 13:52:55 +0900
commit136413c6a101ece8d7ddfdc38d4ceb45b255384c (patch)
treea3c85ae416e6263a4a0b1058e598e21643a2da40
parent2beeb87d2a585562e9c7cdd1e4193a4064c0844d (diff)
downloadlinux-3.10-136413c6a101ece8d7ddfdc38d4ceb45b255384c.tar.gz
linux-3.10-136413c6a101ece8d7ddfdc38d4ceb45b255384c.tar.bz2
linux-3.10-136413c6a101ece8d7ddfdc38d4ceb45b255384c.zip
Introduce CONFIG_ARCH_HAS_BANDGAP and ARCH_EXYNOS4/5 selects it.
CONFIG_ARCH_HAS_BANDGAP is used for tmu driver in thermal fw. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
-rw-r--r--arch/arm/Kconfig3
-rw-r--r--arch/arm/mach-exynos/Kconfig2
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 18a9f5ef643..27194faee34 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -174,6 +174,9 @@ config ARCH_HAS_CPUFREQ
and that the relevant menu configurations are displayed for
it.
+config ARCH_HAS_BANDGAP
+ bool
+
config GENERIC_HWEIGHT
bool
default y
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 549cb329aa1..3e53ad787be 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -17,6 +17,7 @@ config ARCH_EXYNOS4
select HAVE_ARM_SCU if SMP
select HAVE_SMP
select MIGHT_HAVE_CACHE_L2X0
+ select ARCH_HAS_BANDGAP
help
Samsung EXYNOS4 SoCs based systems
@@ -24,6 +25,7 @@ config ARCH_EXYNOS5
bool "SAMSUNG EXYNOS5"
select HAVE_ARM_SCU if SMP
select HAVE_SMP
+ select ARCH_HAS_BANDGAP
help
Samsung EXYNOS5 (Cortex-A15) SoC based systems