Commit 8a3588a7 authored by Sughosh Ganu's avatar Sughosh Ganu
Browse files

SPM: EHF: Build EHF module along with Secure Partition Manager



Add a dependency for building EL3 exception handling framework(EHF)
module with the secure partition manager(SPM).

The EHF module is needed for raising the core's running priority
before the core enters the secure partition, and lowering it
subsequently on exit from the secure partition.

Change-Id: Icbe2d0a63f00b46dc593ff3d86b676c9333506c3
Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@arm.com>
parent a6febeab
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
# Include SPM Makefile # Include SPM Makefile
################################################################################ ################################################################################
ifeq (${ENABLE_SPM},1) ifeq (${ENABLE_SPM},1)
ifeq (${EL3_EXCEPTION_HANDLING},0)
$(error EL3_EXCEPTION_HANDLING must be 1 for SPM support)
endif
$(info Including SPM makefile) $(info Including SPM makefile)
include services/std_svc/spm/spm.mk include services/std_svc/spm/spm.mk
endif endif
......
...@@ -125,8 +125,9 @@ Interface). This will be referred to as the *Standalone MM Secure Partition* in ...@@ -125,8 +125,9 @@ Interface). This will be referred to as the *Standalone MM Secure Partition* in
the rest of this document. the rest of this document.
To enable SPM support in TF-A, the source code must be compiled with the build 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`` flag ``ENABLE_SPM=1``, along with ``EL3_EXCEPTION_HANDLING=1``. On Arm
must be set to 1. Also, the location of the binary that contains the BL32 image platforms the build option ``ARM_BL31_IN_DRAM`` must be set to 1. Also, the
location of the binary that contains the BL32 image
(``BL32=path/to/image.bin``) must be specified. (``BL32=path/to/image.bin``) must be specified.
First, build the Standalone MM Secure Partition. To build it, refer to the First, build the Standalone MM Secure Partition. To build it, refer to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment