aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorJelle Sels <jelle.sels@arm.com>2020-10-06 18:53:47 +0200
committerJérôme Forissier <jerome@forissier.org>2020-11-09 09:57:32 +0100
commitdea46be3107ad8d9a2cc8ff3100e8c6d8cbdfa7c (patch)
tree1fab86f9404a6d188b9e3e942887a7dd1151f358 /mk
parentb43095e4d2b3c626aabc16f1ce387ce6b9df5992 (diff)
core: add secure partitions store
SPs need to be started as part of the initialisation process of the OP-TEE kernel. The secure partition store uses the embedded_ts store to load SPs Signed-off-by: Jelle Sels <jelle.sels@arm.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/config.mk b/mk/config.mk
index de1f3d9a..8fac385f 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -304,10 +304,19 @@ $(eval $(call cfg-depends-all,CFG_REE_FS_TA_BUFFERED,CFG_REE_FS_TA))
# for instance avb/023f8f1a-292a-432b-8fc4-de8471358067
ifneq ($(EARLY_TA_PATHS)$(CFG_IN_TREE_EARLY_TAS),)
$(call force,CFG_EARLY_TA,y)
+$(call force,CFG_EMBEDDED_TS,y)
else
CFG_EARLY_TA ?= n
endif
-ifeq ($(CFG_EARLY_TA),y)
+
+ifneq ($(SP_PATHS),)
+$(call force,CFG_SECURE_PARTITION,y)
+$(call force,CFG_EMBEDDED_TS,y)
+else
+CFG_SECURE_PARTITION ?= n
+endif
+
+ifeq ($(CFG_EMBEDDED_TS),y)
$(call force,CFG_ZLIB,y)
endif