Build: Fix IAR compile error in psa_interface_cross
Change-Id: I1f345baeb26da1f46833bf8b39b3f5ab50a82fa3
Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
diff --git a/secure_fw/spm/core/psa_interface_cross.c b/secure_fw/spm/core/psa_interface_cross.c
index 9ab3cc8..4d5a902 100644
--- a/secure_fw/spm/core/psa_interface_cross.c
+++ b/secure_fw/spm/core/psa_interface_cross.c
@@ -16,6 +16,11 @@
#include "psa/lifecycle.h"
#include "psa/service.h"
#include "runtime_defs.h"
+#include "tfm_arch.h"
+
+#if defined(__ICCARM__)
+#pragma required = arch_cross_call
+#endif
/*
* R12 stores address of target api which will be called in