diff options
author | David Wang <david.wang@arm.com> | 2016-03-07 11:02:57 +0800 |
---|---|---|
committer | David Wang <david.wang@arm.com> | 2016-03-31 10:14:01 +0800 |
commit | 4518dd9a9c6d85d8f004fbeadb26be5aa9aa447d (patch) | |
tree | 2d7dcee46c64ae1abd75b87973e99985aa39e191 /docs | |
parent | 6b1ca8f35802fddc530e1a5f2be7b82ddbab6917 (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user-guide.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/user-guide.md b/docs/user-guide.md index ea10a81e..f1cc990f 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -495,6 +495,12 @@ map is explained in the [Firmware Design]. that wish to optimise memory usage for page tables need to set this flag to 1 and must override the related macros. +* 'ARM_BL31_IN_DRAM': Boolean option to select loading of BL31 in TZC secured + DRAM. By default, BL31 is in the secure SRAM. Set this flag to 1 to load + BL31 in TZC secured DRAM. If TSP is present, then setting this option also + sets the TSP location to DRAM and ignores the `ARM_TSP_RAM_LOCATION` build + flag. + #### ARM CSS platform specific build options * `CSS_DETECT_PRE_1_7_0_SCP`: Boolean flag to detect SCP version |