
This is the first step to move NXP Layerscape SoCs to run at EL2. With PPA (an implementation of trusted firmware) loaded during SPL stage, the rest of U-Boot (and subsequently loaded RAM version) runs at EL2. Eventually non-SPL boot will also moves to this direction.
York Sun (5): armv8: layerscape: Make U-Boot EL2 safe armv8: layerscape: Enabling loading PPA during SPL stage armv8: ls1043ardb: Enable loading PPA during SPL stage for SD boot armv8: ls1046a: Enable spl_board_init() function armv8: ls1046ardb: Enable loading PPA during SPL stage for SD boot
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 13 +++++++ 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/fsl-layerscape/spl.c | 41 ++++++++++++++++++++++- arch/arm/cpu/armv8/sec_firmware.c | 2 +- arch/arm/cpu/armv8/start.S | 3 ++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + board/freescale/common/ns_access.c | 5 ++- configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls1046ardb_sdcard_defconfig | 1 + include/configs/ls1046a_common.h | 1 + 13 files changed, 109 insertions(+), 7 deletions(-)