diff options
| author | Marc Bonnici <marc.bonnici@arm.com> | 2021-12-01 18:00:40 +0000 |
|---|---|---|
| committer | Marc Bonnici <marc.bonnici@arm.com> | 2022-04-13 09:44:49 +0100 |
| commit | 1d63ae4d0d8374a732113565be90d58861506e39 (patch) | |
| tree | 753b0697e3ac7d311b927c6fd888b53d11f3968f /bl31 | |
| parent | b61d94a1a2a13ea4395013fe9d8df3f0cb105faf (diff) | |
| download | arm-trusted-firmware-1d63ae4d0d8374a732113565be90d58861506e39.tar.gz | |
feat(spmc): enable building of the SPMC at EL3
Introduce build flag for enabling the secure partition
manager core, SPMC_AT_EL3. When enabled, the SPMC module
will be included into the BL31 image. By default the
flag is disabled.
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: I5ea1b953e5880a07ffc91c4dea876a375850cf2a
Diffstat (limited to 'bl31')
| -rw-r--r-- | bl31/bl31.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk index 7d83e3cb3..214cf2f66 100644 --- a/bl31/bl31.mk +++ b/bl31/bl31.mk @@ -25,6 +25,14 @@ endif include lib/extensions/amu/amu.mk include lib/mpmm/mpmm.mk + +ifeq (${SPMC_AT_EL3},1) + $(warning "EL3 SPMC is an experimental feature") + $(info Including EL3 SPMC makefile) + include services/std_svc/spm/common/spm.mk + include services/std_svc/spm/el3_spmc/spmc.mk +endif + include lib/psci/psci_lib.mk BL31_SOURCES += bl31/bl31_main.c \ @@ -42,6 +50,7 @@ BL31_SOURCES += bl31/bl31_main.c \ ${PSCI_LIB_SOURCES} \ ${SPMD_SOURCES} \ ${SPM_MM_SOURCES} \ + ${SPMC_SOURCES} \ ${SPM_SOURCES} ifeq (${DISABLE_MTPMU},1) |
