Add support for up-stream SPMC
The upstream SPMC build configuration differs from the POC
implementation. This patch makes it possible to build the Trusted
services with the upstream OP-TEE-OS repo.
Add SPMC_VERSION parameter which will change the build of the upstream
SPMC.
-Add the SPs to the image using the SP_PATHS instead of the
EARLY_TA_PATHS build parameter.
-Add CFG_SECURE_PARTITION=y flag to OPTEE_OS_COMMON_EXTRA_FLAGS
-Disable event log
-Disable attestation and smm-gateway
-The upstream SPMC doesn't support the trng hardware, instead build the
crypto-sp with the mock trng implementation.
-Remove embedded dts. The upstream SPMC doesn't support SP manifest dts
files.
Signed-off-by: Jelle Sels <jelle.sels@arm.com>
Change-Id: Ia1b6168f43e3fd87558aefc04a2ea26593544859
diff --git a/fvp.mk b/fvp.mk
index 8da1b1e..69a22bc 100644
--- a/fvp.mk
+++ b/fvp.mk
@@ -224,7 +224,7 @@
$(DTB): $(DTS_PATH)/$(DTS).dts $(OUT_PATH)
gcc -E -P -nostdinc -undef -x assembler-with-cpp -I$(DTSI_PATH) \
- -I$(TF_A_PATH)/include -o $(DTS_PRE) $(DTS_PATH)/$(DTS).dts
+ -I$(TF_A_PATH)/include -o $(DTS_PRE) $(DTS_PATH)/$(DTS).dts $(DTS_CONFIG)
dtc -i$(DTSI_PATH) -I dts -O dtb -o $(DTB) $(DTS_PRE)
.PHONY: dtb-clean