feat: support Cactus SP to boot on EL3 SPMC
EL3 SPMC has a limited set of FF-A functionality and does not support
all the features built into the current Cactus SP implementation.
Hence, this patch introduces a build option to strip out few features
from Cactus SP in order to boot it on EL3 SPMC.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I6319563adca67460015b79219ebc5c9468e3d54a
diff --git a/Makefile b/Makefile
index 8f6e14c..d0aac05 100644
--- a/Makefile
+++ b/Makefile
@@ -170,6 +170,7 @@
$(eval $(call assert_numeric,BRANCH_PROTECTION))
$(eval $(call assert_boolean,ENABLE_REALM_PAYLOAD_TESTS))
$(eval $(call assert_boolean,TRANSFER_LIST))
+$(eval $(call assert_boolean,SPMC_AT_EL3))
################################################################################
# Process build options
@@ -197,6 +198,7 @@
$(eval $(call add_define,TFTF_DEFINES,ENABLE_REALM_PAYLOAD_TESTS))
$(eval $(call add_define,TFTF_DEFINES,TRANSFER_LIST))
$(eval $(call add_define,TFTF_DEFINES,PLAT_AMU_GROUP1_COUNTERS_MASK))
+$(eval $(call add_define,TFTF_DEFINES,SPMC_AT_EL3))
################################################################################