switch-l4t-atf/include
Sandrine Bailleux 91fad6551e ARM CSS platforms: Map flash as execute-never by default
On ARM CSS platforms, the whole flash used to be mapped as executable.
This is not required, given that the flash is used to store the BL1
and FIP images and:

 - The FIP is not executed in place, its images are copied to RAM
   and executed from there.

 - BL1 is executed in place from flash but only its code needs to be
   mapped as executable and platform code takes care of re-mapping
   BL1's read-only section as executable.

Therefore, this patch now maps the flash as non-executable by default
on these platforms. This increases security by restricting the
executable region to what is strictly needed.

This patch also adds some comments to clarify the memory mapping
attributes on these platforms.

Change-Id: I4db3c145508bea1f43fbe0f6dcd551e1aec1ecd3
2016-07-08 14:55:11 +01:00
..
bl1 FWU: Add Generic Firmware Update framework support in BL1 2015-12-09 17:41:18 +00:00
bl31 Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
bl32 Enable use of FIQs and IRQs as TSP interrupts 2015-12-04 12:02:12 +00:00
common Introduce SEPARATE_CODE_AND_RODATA build flag 2016-07-08 14:55:11 +01:00
drivers Merge pull request #629 from ljerry/tf_issue_398 2016-06-13 13:50:58 +01:00
lib Introduce round_up/down() macros 2016-07-08 14:37:11 +01:00
plat ARM CSS platforms: Map flash as execute-never by default 2016-07-08 14:55:11 +01:00