aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOlivier Deprez <olivier.deprez@arm.com>2020-04-01 21:28:26 +0200
committerOlivier Deprez <olivier.deprez@arm.com>2020-07-30 15:56:13 +0000
commitdb1ef41a78235fe228bbe28fb298ad4e3f9d644d (patch)
treef5ce442297de25809b1dca3a5685aedcc8e0552d /Makefile
parentf0b1864f8e309a41d2eb1c9510f8cd3c7aacbb1d (diff)
downloadtrusted-firmware-a-db1ef41a78235fe228bbe28fb298ad4e3f9d644d.tar.gz
SPM: build OP-TEE as an S-EL1 Secure Partition
Provide manifest and build options to boot OP-TEE as a guest S-EL1 Secure Partition on top of Hafnium in S-EL2. Increase ARM_SP_MAX_SIZE to cope with OP-TEE debug build image. Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: Idd2686fa689a78fe2d05ed92b1d23c65e2edd4cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 65ebb93727..14fc85ae45 100644
--- a/Makefile
+++ b/Makefile
@@ -484,6 +484,10 @@ ifneq (${SPD},none)
$(error SPMD with SPM at S-EL2 requires CTX_INCLUDE_EL2_REGS option)
endif
endif
+
+ ifeq ($(findstring optee_sp,$(ARM_SPMC_MANIFEST_DTS)),optee_sp)
+ DTC_CPPFLAGS += -DOPTEE_SP_FW_CONFIG
+ endif
else
# All other SPDs in spd directory
SPD_DIR := spd