aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
authorVolodymyr Babchuk <vlad.babchuk@gmail.com>2017-10-10 17:44:23 +0300
committerJérôme Forissier <jerome.forissier@linaro.org>2017-10-11 15:50:16 +0200
commitd81f93a78cabe6c2f3d5d632ea719c880900a41f (patch)
treee5135a2bc9437185e88992393d1680f907598a96 /mk/config.mk
parentbea839dff153e782fd0e27a89f522812847f84ae (diff)
build: add CFG_DYN_SHM_CAP config variable
This variable can disable reported capability OPTEE_SMC_SEC_CAP_DYNAMIC_SHM. But dynamic SHM remains fully operational, though. This can be used for testing and debugging to emulate system, where dynamic SHM is not supported. Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r--mk/config.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk
index 881190af..5690ff93 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -263,3 +263,10 @@ CFG_SECURE_DATA_PATH ?= n
# so its value represents log2(cores/cluster).
# Default is 2**(2) = 4 cores per cluster.
CFG_CORE_CLUSTER_SHIFT ?= 2
+
+# Do not report to NW that dynamic shared memory (shared memory outside
+# predefined region) is enabled.
+# Note that you can disable this feature for debug purposes. OP-TEE will not
+# report to Normal World that it support dynamic SHM. But, nevertheles it
+# will accept dynamic SHM buffers.
+CFG_DYN_SHM_CAP ?= y