]> git.sur5r.net Git - u-boot/commit
ARM: HYP/non-sec: relocation before enable secondary cores
authorPeng Fan <Peng.Fan@freescale.com>
Wed, 4 Feb 2015 10:15:09 +0000 (18:15 +0800)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 1 Mar 2015 15:33:21 +0000 (16:33 +0100)
commit02251eefc95c477f4ff6aa7568dfd4be7c69c31f
treec4b9382fa20815bb8fc7983e1e0d383734ffedc8
parent419fa9ae216716789e45f2b18cb975db35c6d669
ARM: HYP/non-sec: relocation before enable secondary cores

If CONFIG_ARMV7_PSCI is not defined and CONFIG_ARMV7_SECURE_BASE is defined,
smp_kicl_all_cpus may enable secondary cores and runs into secure_ram_addr(
_smp_pen), before code is relocated to secure ram.
So need relocation to secure ram before enable secondary cores.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/cpu/armv7/virt-v7.c