switch-l4t-atf/lib
Roberto Vargas 638b034cc3 ARM platforms: Demonstrate mem_protect from el3_runtime
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>
2018-05-01 15:25:25 +01:00
..
aarch32 ARMv7: division support for missing __aeabi_*divmod 2017-11-08 14:42:07 +01:00
aarch64 misc_helpers: fix zero_normalmem() for BL2_AT_EL3 2018-02-01 13:17:29 +09:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
coreboot coreboot: Add support for CBMEM console 2018-01-19 15:21:12 -08:00
cpus Check presence of fix for errata 835769 in Cortex-A53 2018-04-12 12:12:56 +01:00
el3_runtime Rename 'smcc' to 'smccc' 2018-03-21 10:49:27 +00:00
extensions Merge pull request #1282 from robertovargas-arm/misra-changes 2018-02-28 18:53:30 +00:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Clean usage of void pointers to access symbols 2018-03-27 13:20:27 +01:00
optee optee: print header info before validate 2018-02-08 02:17:24 +09:00
pmf Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
psci Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib stdlib: remove comparison with EOF macro to comply with MISRA 2018-03-15 13:32:54 +00:00
utils ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
xlat_tables Update ULL() macro and instances of ull to comply with MISRA 2018-02-27 17:05:51 +00:00
xlat_tables_v2 Fix some MISRA defects in SPM code 2018-04-17 15:10:18 +01:00
zlib zlib: Fix build error when LOG_LEVEL=50 2018-02-08 09:36:48 +01:00