aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2020-12-07 10:45:17 +0800
committerMingyang Sun <mingyang.sun@arm.com>2021-01-06 10:22:44 +0800
commit9763dee6fdc533fda5f334b2df976db39569f4dd (patch)
treead045d53527d4857e9942cd5cd35a3ed3dad565b /interface
parenta891d4f8f0c931a6f79f13c15c2233e49598a13e (diff)
downloadtrusted-firmware-m-9763dee6fdc533fda5f334b2df976db39569f4dd.tar.gz
Build: Put CONFIG_TFM_ENABLE_MEMORY_PROTECT flag to platform
The flag "CONFIG_TFM_ENABLE_MEMORY_PROTECT" is a platform-scope option, move it to platform_s target. Remove the isolation setup in library SPM code and reuse the one of SPM HAL, since they are doing the same things. Change-Id: I5766ddecc525ee2eda3f2e5989b31dd5c41fde6b Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'interface')
-rw-r--r--interface/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index 37ecfbc56..f68396d4a 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -45,7 +45,6 @@ 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}>
- $<$<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>
$<$<BOOL:${FORWARD_PROT_MSG}>:FORWARD_PROT_MSG=${FORWARD_PROT_MSG}>