mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-02 23:56:35 +00:00
638b034cc3
Previously mem_protect used to be only supported from BL2. This is not helpful in the case when ARM TF-A BL2 is not used. This patch demonstrates mem_protect from el3_runtime firmware on ARM Platforms specifically when RESET_TO_BL31 or RESET_TO_SP_MIN flag is set as BL2 may be absent in these cases. The Non secure DRAM is dynamically mapped into EL3 mmap tables temporarily and then the protected regions are then cleared. This avoids the need to map the non secure DRAM permanently to BL31/sp_min. The stack size is also increased, because DYNAMIC_XLAT_TABLES require a bigger stack. Change-Id: Ia44c594192ed5c5adc596c0cff2c7cc18c001fde Signed-off-by: Roberto Vargas <roberto.vargas@arm.com> |
||
---|---|---|
.. | ||
aarch32 | ||
aarch64 | ||
compiler-rt | ||
coreboot | ||
cpus | ||
el3_runtime | ||
extensions | ||
libfdt | ||
locks | ||
optee | ||
pmf | ||
psci | ||
semihosting | ||
stack_protector | ||
stdlib | ||
utils | ||
xlat_tables | ||
xlat_tables_v2 | ||
zlib |