summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLeela Krishna Amudala <l.krishna@samsung.com>2013-06-10 18:28:04 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-06-19 03:41:38 +0900
commitb5f3c75a75d31039c6de3ab38d074b43c60462f7 (patch)
treefce28f0432d3eb3f979fbb4ee6a038ab40debaa0 /arch
parent83978253d0c3e12bf81d4b5f419a0200d5cb19a6 (diff)
downloadlinux-b5f3c75a75d31039c6de3ab38d074b43c60462f7.tar.bz2
ARM: EXYNOS: call scu_enable() only in case of cortex-A9 processor
This patch reads the cpuid part number and if it matches with cortex-A9, calls scu_enable() Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c
index a0e8ff7758a4..d9c6d0ab6a0c 100644
--- a/arch/arm/mach-exynos/platsmp.c
+++ b/arch/arm/mach-exynos/platsmp.c
@@ -200,7 +200,7 @@ static void __init exynos_smp_prepare_cpus(unsigned int max_cpus)
{
int i;
- if (!(soc_is_exynos5250() || soc_is_exynos5440()))
+ if (read_cpuid_part_number() == ARM_CPU_PART_CORTEX_A9)
scu_enable(scu_base_addr());
/*