diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2019-04-18 08:56:31 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2019-05-02 13:58:09 +0200 |
commit | 37a6b717787bf3927f7af379ae66b1b6d0fe2a51 (patch) | |
tree | c7a9472aa82d7363ab4e6e36ce0680cec59ca80e /mk/config.mk | |
parent | fda78375e37ff7341cd205bdc26c9ed9b991b927 (diff) |
core: introduce CFG_CORE_DYN_SHM
Introduces CFG_CORE_DYN_SHM which if set to y enables dynamic shared
memory, else disables support for dynamic shared memory. In contrast
with CFG_DYN_SHM_CAP it actually removes the support instead of just
omit reporting it.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r-- | mk/config.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/config.mk b/mk/config.mk index 7ac4ba47..de22acc0 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -402,12 +402,16 @@ CFG_DEVICE_ENUM_PTA ?= y # Default is 2**(2) = 4 cores per cluster. CFG_CORE_CLUSTER_SHIFT ?= 2 +# Enable support for dynamic shared memory (shared memory anywhere in +# non-secure memory). +CFG_CORE_DYN_SHM ?= y + # 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 +CFG_DYN_SHM_CAP ?= $(CFG_CORE_DYN_SHM) # Enables support for larger physical addresses, that is, it will define # paddr_t as a 64-bit type. |