Twincpu: Add generic multi-core specific functions implementations
Add multi-core specific implementations of the following functions
- tfm_nspm_thread_entry()
- Dummy tfm_nspm_configure_clients() and
tfm_nspm_get_current_client_id()
- Dummy tfm_psa_ipc_request_handler()
Change-Id: I8bf6d7cae36b7f1ec93e9d12abac91b5b54762f5
Signed-off-by: David Hu <david.hu@arm.com>
diff --git a/secure_fw/services/tfm_spm_db.inc b/secure_fw/services/tfm_spm_db.inc
index d0dd9ae..594e1f7 100644
--- a/secure_fw/services/tfm_spm_db.inc
+++ b/secure_fw/services/tfm_spm_db.inc
@@ -422,7 +422,11 @@
{
.partition_id = TFM_SP_NON_SECURE_ID,
#ifdef TFM_PSA_API
+#if TFM_MULTI_CORE_TOPOLOGY
+ .partition_flags = SPM_PART_FLAG_PSA_ROT | SPM_PART_FLAG_IPC,
+#else
.partition_flags = SPM_PART_FLAG_APP_ROT | SPM_PART_FLAG_IPC,
+#endif
.partition_priority = TFM_PRIORITY_LOW,
.partition_init = tfm_nspm_thread_entry,
#else