Core: thread mode transition for IPC calls

Align NS IPC calls with thread mode NS-S transition
changes

Change-Id: Ifbc4a5229ee0400bde9755d2964bcf82e8fcfca2
Signed-off-by: Miklos Balint <miklos.balint@arm.com>
diff --git a/interface/include/tfm_ns_psa_svc.h b/interface/include/tfm_ns_psa_svc.h
deleted file mode 100644
index a1032f6..0000000
--- a/interface/include/tfm_ns_psa_svc.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2018, Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- *
- */
-
-#ifndef __TFM_NS_PSA_SVC_H__
-#define __TFM_NS_PSA_SVC_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "interface/include/psa_client.h"
-
-uint32_t tfm_psa_ns_version(uint32_t sid);
-
-psa_handle_t tfm_psa_ns_connect(uint32_t sid, uint32_t minor_version);
-
-psa_error_t tfm_psa_ns_call(psa_handle_t handle,
-                            const psa_invec *in_vecs,
-                            const psa_invec *out_vecs);
-
-psa_error_t tfm_psa_ns_close(psa_handle_t handle);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __TFM_NS_PSA_SVC_H__ */
diff --git a/interface/src/tfm_psa_ns_api.c b/interface/src/tfm_psa_ns_api.c
index 80c3af8..45e8082 100644
--- a/interface/src/tfm_psa_ns_api.c
+++ b/interface/src/tfm_psa_ns_api.c
@@ -35,6 +35,10 @@
                      const psa_outvec *out_vec,
                      size_t out_len)
 {
+    /* FixMe: sanity check can be added to offload some NS thread checks from
+     * TFM secure API
+     */
+
     /* Due to v8M restrictions, TF-M NS API needs to add another layer of
      * serialization in order for NS to pass arguments to S
      */