aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2014-07-04 17:24:35 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-07-18 14:35:58 -0400
commitb5a296cdf43e86e189c17537b85c6c0168aae750 (patch)
treee66da7d46c7cb6b4a094021aee2828b4516c3141 /arch/arm/mach-exynos
parent64a3c4caa91c72a00ba2e464a0b2a0a5ce7a312b (diff)
ARM: EXYNOS: do not allow cpuidle registration for exynos5420
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/exynos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index 46d893fcbe85..c7d960aa95a8 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -298,7 +298,9 @@ static void __init exynos_dt_machine_init(void)
298 if (!IS_ENABLED(CONFIG_SMP)) 298 if (!IS_ENABLED(CONFIG_SMP))
299 exynos_sysram_init(); 299 exynos_sysram_init();
300 300
301 exynos_cpuidle_init(); 301 if (!of_machine_is_compatible("samsung,exynos5420"))
302 exynos_cpuidle_init();
303
302 exynos_cpufreq_init(); 304 exynos_cpufreq_init();
303 305
304 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 306 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);