[U-Boot] [PATCH v1 1/5] armv8: layerscape: Make U-Boot EL2 safe

york sun york.sun at nxp.com
Fri Jun 2 17:47:14 UTC 2017


On 05/15/2017 08:52 AM, York Sun wrote:
> 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 at nxp.com>
> ---
> 
>   arch/arm/cpu/armv8/fsl-layerscape/cpu.c      | 11 ++++++++++-
>   arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 16 +++++++++++++++-
>   arch/arm/cpu/armv8/fsl-layerscape/ppa.c      |  7 +++++++
>   arch/arm/cpu/armv8/fsl-layerscape/soc.c      | 14 ++++++++++++--
>   arch/arm/cpu/armv8/sec_firmware.c            |  2 +-
>   arch/arm/cpu/armv8/start.S                   |  3 +++
>   board/freescale/common/ns_access.c           |  5 ++++-
>   7 files changed, 52 insertions(+), 6 deletions(-)

Applied this set (with patch v2 4/5) to fsl-qoriq master, awaiting upstream.

York



More information about the U-Boot mailing list