summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2022-05-19 15:17:43 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2022-12-08 15:40:25 +0100
commit555677fe81c5e1888254ac36acb0a02b3850dc46 (patch)
tree23007e590e7ef65db183c83c691feabfdb0f1b44 /services
parent36802e2c792f79ab630b53298dfd4f1e5a95d173 (diff)
downloadarm-trusted-firmware-555677fe81c5e1888254ac36acb0a02b3850dc46.tar.gz
feat(el3-spmc): make platform logical partition optional
Prior to this commit a logical platform specific partition is added when compiling with SPMC at EL3. Not all platform need to add a logical platform so make this optional. Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Change-Id: I3bdd2a91350330c1637e8d84765974bfb6b225d7
Diffstat (limited to 'services')
-rw-r--r--services/std_svc/spm/el3_spmc/spmc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/std_svc/spm/el3_spmc/spmc.mk b/services/std_svc/spm/el3_spmc/spmc.mk
index c674e7161..6442af049 100644
--- a/services/std_svc/spm/el3_spmc/spmc.mk
+++ b/services/std_svc/spm/el3_spmc/spmc.mk
@@ -20,7 +20,9 @@ SPMC_LP_SOURCES := $(addprefix ${PLAT_DIR}/, \
${PLAT}_el3_spmc_logical_sp.c)
+ifneq ($(wildcard $(SPMC_LP_SOURCES)),)
SPMC_SOURCES += $(SPMC_LP_SOURCES)
+endif
# Let the top-level Makefile know that we intend to include a BL32 image
NEED_BL32 := yes