armv8: fsl-layerscape: Support loading 32-bit OS with PSCI enabled
authorAlison Wang <b18965@freescale.com>
Thu, 10 Nov 2016 02:49:05 +0000 (10:49 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 22 Nov 2016 19:40:24 +0000 (11:40 -0800)
commit3db86f4bbd7a723421c8c9bf9bd09d58e17e9736
treec3a125c86cd249a0b6037dba0004ec5563575d1c
parente2c18e40b111470fbe1aca47b58570099695f10a
armv8: fsl-layerscape: Support loading 32-bit OS with PSCI enabled

As PSCI and secure monitor firmware framework are enabled, this patch is
to support loading 32-bit OS in such case. The default target exception
level returned to U-Boot is EL2, so the corresponding work to switch to
AArch32 EL2 and jump to 32-bit OS are done in U-Boot and secure firmware
together.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/sec_firmware_asm.S
arch/arm/cpu/armv8/transition.S
arch/arm/include/asm/system.h