Add support to load BL31 in DRAM
This patch adds an option to the ARM common platforms to load BL31 in the
TZC secured DRAM instead of the default secure SRAM.

To enable this feature, set `ARM_BL31_IN_DRAM` to 1 in build options.
If TSP is present, then setting this option also sets the TSP location
to DRAM and ignores the `ARM_TSP_RAM_LOCATION` build flag.

To use this feature, BL2 platform code must map in the DRAM used by
BL31. The macro ARM_MAP_BL31_SEC_DRAM is provided for this purpose.
Currently, only the FVP BL2 platform code maps in this DRAM.

Change-Id: If5f7cc9deb569cfe68353a174d4caa48acd78d67
1 parent 6b1ca8f commit 4518dd9a9c6d85d8f004fbeadb26be5aa9aa447d
@David Wang David Wang authored on 6 Mar 2016
Showing 7 changed files
View
docs/user-guide.md
View
include/plat/arm/board/common/board_arm_def.h
View
include/plat/arm/common/arm_def.h
View
plat/arm/board/fvp/aarch64/fvp_common.c
View
plat/arm/board/fvp/include/platform_def.h
View
plat/arm/common/arm_bl2_setup.c
View
plat/arm/common/arm_common.mk