aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2020-11-16 15:33:13 +0800
committerMingyang Sun <mingyang.sun@arm.com>2020-11-17 10:42:46 +0800
commitd065159179bf049d8f555fd51be64d882b53fd78 (patch)
treed318a4f65501ed3f313133df93ed0f1dd994a41e /interface
parentc8d9293d05960facc06ff8ae79630e335f3a2e45 (diff)
downloadtrusted-firmware-m-d065159179bf049d8f555fd51be64d882b53fd78.tar.gz
Build: Enable CONFIG_TFM_ENABLE_MEMORY_PROTECT for PSA FF test
PSA FF test requires CONFIG_TFM_ENABLE_MEMORY_PROTECT to be enabled, to execute the memory access check test. Change-Id: If853133217bebb136d422acfdbe209403c732dc5 Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'interface')
-rw-r--r--interface/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index 2fce668fa..086cc875c 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -45,7 +45,7 @@ target_compile_definitions(psa_interface
$<$<BOOL:${TFM_NS_CLIENT_IDENTIFICATION}>:TFM_NS_CLIENT_IDENTIFICATION>
$<$<BOOL:${CONFIG_TFM_ENABLE_CTX_MGMT}>:CONFIG_TFM_ENABLE_CTX_MGMT>
$<$<BOOL:${TFM_ISOLATION_LEVEL}>:TFM_LVL=${TFM_ISOLATION_LEVEL}>
- $<$<VERSION_GREATER:${TFM_ISOLATION_LEVEL},1>:CONFIG_TFM_ENABLE_MEMORY_PROTECT>
+ $<$<OR:$<VERSION_GREATER:${TFM_ISOLATION_LEVEL},1>,$<STREQUAL:"${TEST_PSA_API}","IPC">>:CONFIG_TFM_ENABLE_MEMORY_PROTECT>
$<$<BOOL:${TFM_MULTI_CORE_TOPOLOGY}>:TFM_MULTI_CORE_TOPOLOGY>
$<$<BOOL:${TFM_MULTI_CORE_MULTI_CLIENT_CALL}>:TFM_MULTI_CORE_MULTI_CLIENT_CALL>
)