diff options
author | David Hu <david.hu@arm.com> | 2019-11-12 16:29:57 +0800 |
---|---|---|
committer | David Hu <david.hu@arm.com> | 2020-02-14 10:56:29 +0800 |
commit | 99031d5d1ff61fd728594342e4fe043fded907a1 (patch) | |
tree | e77bf20f2b2fbf8bbea9eab1491bde9e0cbe98b0 /cmake/Common | |
parent | f68f0de555651d685538e13f036d6f41c1e8a3b2 (diff) | |
download | trusted-firmware-m-99031d5d1ff61fd728594342e4fe043fded907a1.tar.gz |
Dualcpu: Control multiple outstanding NS PSA Client call feature in build
Add function enable_multi_core_multi_client_call() in
MultiCore.cmake to enable multiple outstanding NS PSA Client calls
feature in multi-core topology.
Change-Id: I21f38724af20135da5533c7b24008073ad9f89ba
Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'cmake/Common')
-rw-r--r-- | cmake/Common/MultiCore.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/Common/MultiCore.cmake b/cmake/Common/MultiCore.cmake index 46effbd92b..86e9d00dbd 100644 --- a/cmake/Common/MultiCore.cmake +++ b/cmake/Common/MultiCore.cmake @@ -14,6 +14,13 @@ function(enable_multi_core_topology_config) set(TFM_MULTI_CORE_TOPOLOGY ON PARENT_SCOPE) endfunction(enable_multi_core_topology_config) +# Enable multiple outstanding NS PSA Client calls feature. +# It requires the multi-core platform implement the configuration and support +# of the multiple outstanding NS PSA Client calls feature. +function(enable_multi_core_multi_client_call) + add_definitions(-DTFM_MULTI_CORE_MULTI_CLIENT_CALL) +endfunction(enable_multi_core_multi_client_call) + # Platform specific cmake script calls this function to set secure core cpu type # Argument CPU_TYPE_CMAKE represents the CMake file of the corresponding secure # CPU type. |