aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorEdison Ai <edison.ai@arm.com>2020-02-23 15:05:38 +0800
committerEdison Ai <edison.ai@arm.com>2020-02-25 15:59:29 +0800
commit3143d598ad9be6d1d8a502874515c4de6888d58d (patch)
tree6a4fe556dd7762c85d7c2c6729c67f973e8de675 /configs
parent1dfd7b1fed4132ea75c535e4cab3639e78da675b (diff)
downloadtrusted-firmware-m-3143d598ad9be6d1d8a502874515c4de6888d58d.tar.gz
Build: Enable memory protection for PSA FF test
Setting CONFIG_TFM_ENABLE_MEMORY_PROTECT to "ON" to enable the memory protection function for PSA FF test in isolation level 1 IPC model. Change-Id: Ia6da845d40be5d25787bbe643bd1591655f85c7d Signed-off-by: Edison Ai <edison.ai@arm.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/ConfigPsaApiTestIPC.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/ConfigPsaApiTestIPC.cmake b/configs/ConfigPsaApiTestIPC.cmake
index bfcc834863..fbf36f4257 100644
--- a/configs/ConfigPsaApiTestIPC.cmake
+++ b/configs/ConfigPsaApiTestIPC.cmake
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
-# Copyright (c) 2019, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -60,4 +60,8 @@ if(PSA_API_TEST_CRYPTO)
set(CRYPTO_ENGINE_BUF_SIZE 20480)
endif()
+if(PSA_API_TEST_IPC)
+ set (CONFIG_TFM_ENABLE_MEMORY_PROTECT ON)
+endif()
+
include ("${TFM_ROOT_DIR}/CommonConfig.cmake")