diff options
| author | Marc Bonnici <marc.bonnici@arm.com> | 2021-12-19 21:37:50 +0000 |
|---|---|---|
| committer | Marc Bonnici <marc.bonnici@arm.com> | 2022-04-08 15:36:22 +0100 |
| commit | b61d94a1a2a13ea4395013fe9d8df3f0cb105faf (patch) | |
| tree | 6e9ab6e05e569c19dea64fbb9a31e5e5febed835 /bl31 | |
| parent | 9bd3cb5c96d8ed3d434c29a4e2e8a4ef4810a065 (diff) | |
| download | arm-trusted-firmware-b61d94a1a2a13ea4395013fe9d8df3f0cb105faf.tar.gz | |
refactor(spm_mm): reorganize secure partition manager code
In preparation for adding the EL3 SPMC configuration as defined in
the FF-A specification, restructure the existing SPM_MM code.
With this restructuring of the code, the 'spm_mm' directory is
renamed as 'spm' and the code inside has been split into two
sub-directories named 'common' and 'spm_mm'. The code in 'spm_mm'
directory contains the code that implements the MM interface.
In subsequent patches, the 'spmc' directory will be introduced
under the 'spm' directory providing the code that implements
the 'FF-A' interface.
Currently the common functionality for S-EL1 partitions is
limited to assembler functions to enter and exit an SP
synchronously.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: I37739b9b53bc68e151ab5c1c0c6a15b3ee362241
Diffstat (limited to 'bl31')
| -rw-r--r-- | bl31/bl31.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk index 25c7964a1..7d83e3cb3 100644 --- a/bl31/bl31.mk +++ b/bl31/bl31.mk @@ -18,7 +18,8 @@ ifeq (${SPM_MM},1) $(error EL3_EXCEPTION_HANDLING must be 1 for SPM-MM support) else $(info Including SPM Management Mode (MM) makefile) - include services/std_svc/spm_mm/spm_mm.mk + include services/std_svc/spm/common/spm.mk + include services/std_svc/spm/spm_mm/spm_mm.mk endif endif @@ -40,6 +41,7 @@ BL31_SOURCES += bl31/bl31_main.c \ services/std_svc/std_svc_setup.c \ ${PSCI_LIB_SOURCES} \ ${SPMD_SOURCES} \ + ${SPM_MM_SOURCES} \ ${SPM_SOURCES} ifeq (${DISABLE_MTPMU},1) |
