提交 b5f3c75a 编写于 作者: L Leela Krishna Amudala 提交者: Kukjin Kim

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: NLeela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: NDoug Anderson <dianders@chromium.org>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 83978253
......@@ -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());
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册