diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-05-24 09:14:58 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-05-24 09:15:03 +0100 |
commit | e829a3796fb2e66a68b60a22ebce6dca05c80a71 (patch) | |
tree | 722d54c6fd84e8740623b5fd3db68640fff4cb2f /docs | |
parent | b62507ac8446cca101e3a04cc790899eae2c5156 (diff) | |
download | platform_external_arm-trusted-firmware-e829a3796fb2e66a68b60a22ebce6dca05c80a71.tar.gz platform_external_arm-trusted-firmware-e829a3796fb2e66a68b60a22ebce6dca05c80a71.tar.bz2 platform_external_arm-trusted-firmware-e829a3796fb2e66a68b60a22ebce6dca05c80a71.zip |
plat/arm: SPM: Force BL31 to DRAM when SPM is used
BL31 is running out of space, and the use-case of SPM doesn't require it
to be in SRAM. To prevent BL31 from running out of space in the future,
move BL31 to DRAM if SPM is enabled.
Secure Partition Manager design document updated to reflect the changes.
Increased the size of the stack of BL31 for builds with SPM.
The translation tables used by SPM in Arm platforms have been moved back
to the 'xlat_tables' region instead of 'arm_el3_tzc_dram'. Everything is
in DRAM now, so it doesn't make sense to treat them in a different way.
Change-Id: Ia6136c8e108b8da9edd90e9d72763dada5e5e5dc
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/secure-partition-manager-design.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/secure-partition-manager-design.rst b/docs/secure-partition-manager-design.rst index 3dd1e0ca2..fec7c00c7 100644 --- a/docs/secure-partition-manager-design.rst +++ b/docs/secure-partition-manager-design.rst @@ -126,8 +126,7 @@ the rest of this document. To enable SPM support in TF-A, the source code must be compiled with the build flag ``ENABLE_SPM=1``. On Arm platforms the build option ``ARM_BL31_IN_DRAM`` -can be used to select the location of BL31, both SRAM and DRAM are supported. -Also, the location of the binary that contains the BL32 image +must be set to 1. Also, the location of the binary that contains the BL32 image (``BL32=path/to/image.bin``) must be specified. First, build the Standalone MM Secure Partition. To build it, refer to the @@ -139,7 +138,7 @@ image in the FIP: :: BL32=path/to/standalone/mm/sp BL33=path/to/bl33.bin \ - make PLAT=fvp ENABLE_SPM=1 fip all + make PLAT=fvp ENABLE_SPM=1 ARM_BL31_IN_DRAM=1 fip all Describing Secure Partition resources ------------------------------------- |