Core: Separate nspm for 2 models
- Split nspm into 2 files for IPC and library models
- Clear contents of some unused functions in IPC model, but keep
function definitions to avoid build error.
- Disable TFM_NS_CLIENT_IDENTIFICATION in IPC model.
Change-Id: Id00293a2fa3f4a183b4bef9cafb11f1a75e61e8d
Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index 4ddd9be..47b53f3 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -250,9 +250,13 @@
endif()
# This flag indicates if the non-secure OS is capable of identify the non-secure clients
-# which call the secure services
+# which call the secure services. It is diabled in IPC model.
if (NOT DEFINED TFM_NS_CLIENT_IDENTIFICATION)
- set (TFM_NS_CLIENT_IDENTIFICATION ON)
+ if (TFM_PSA_API)
+ set(TFM_NS_CLIENT_IDENTIFICATION OFF)
+ else()
+ set(TFM_NS_CLIENT_IDENTIFICATION ON)
+ endif()
endif()
if (BL2)