arm-trusted-firmware/plat/arm/board/common
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 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
aarch64 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
drivers/norflash norflash: Add full status check 2017-08-23 10:29:44 +01:00
rotpk Add support for TBBR using ECDSA keys in ARM platforms 2017-09-22 09:48:36 +08:00
board_arm_trusted_boot.c Add support for TBBR using ECDSA keys in ARM platforms 2017-09-22 09:48:36 +08:00
board_common.mk Merge pull request #1109 from robertovargas-arm/mem_protect 2017-10-04 16:23:59 +01:00
board_css.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
board_css_common.c ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00