arm-trusted-firmware/include
Roberto Vargas f145403c2a mem_protect: Add mem_protect support in Juno and FVP for DRAM1
mem_protect needs some kind of non-volatile memory because it has
to remember its state across reset and power down events.
The most suitable electronic part for this feature is a NVRAM
which should be only accesible from the secure world. Juno and
FVP lack such hardware and for this reason the MEM_PROTECT
functionality is implemented with Flash EEPROM memory on both
boards, even though this memory is accesible from the non-secure
world. This is done only to show a full implementation of
these PSCI features, but an actual system shouldn't use a
non-secure NVRAM to implement it.

The EL3 runtime software will write the mem_protect flag and BL2
will read and clear the memory ranges if enabled. It is done in
BL2 because it reduces the time that TF needs access to the full
non-secure memory.

The memory layout of both boards is defined using macros which
take different values in Juno and FVP platforms. Generic platform
helpers are added that use the platform specific macros to generate
a mem_region_t that is valid for the platform.

Change-Id: I2c6818ac091a2966fa07a52c5ddf8f6fde4941e9
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
2017-09-25 13:32:20 +01:00
..
bl1 FWU: Introduce FWU_SMC_IMAGE_RESET 2017-06-01 14:52:12 +01:00
bl31 include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
bl32 bl32: add secure interrupt handling in AArch32 sp_min 2017-08-09 15:48:53 +02:00
common Implement log framework 2017-09-11 15:37:24 +01:00
drivers Add SMMUv3 driver 2017-08-01 14:33:47 +01:00
lib Add mem_region utility functions 2017-09-25 13:32:20 +01:00
plat mem_protect: Add mem_protect support in Juno and FVP for DRAM1 2017-09-25 13:32:20 +01:00
services Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tools_share Support Trusted OS firmware extra images in TF tools 2017-08-09 18:06:05 +08:00