]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: layerscape: Make U-Boot EL2 safe
authorYork Sun <york.sun@nxp.com>
Mon, 15 May 2017 15:51:59 +0000 (08:51 -0700)
committerYork Sun <york.sun@nxp.com>
Fri, 2 Jun 2017 02:57:24 +0000 (19:57 -0700)
commit399e2bb60cb76131c49446baf350697142af7c07
tree5e13e5deea8e8d73302f4731e1ea1d6d42ef3236
parent1f55a93802ab1522e4f479d1d2730158e26b3567
armv8: layerscape: Make U-Boot EL2 safe

When U-Boot boots from EL2, skip some lowlevel init code requiring
EL3, including CCI-400/CCN-504, trust zone, GIC, etc. These
initialization tasks are carried out before U-Boot runs. This applies
to the RAM version image used for SPL boot if PPA is loaded first.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S
arch/arm/cpu/armv8/fsl-layerscape/ppa.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/cpu/armv8/start.S
board/freescale/common/ns_access.c