Core: Add veneer for registering NS client id
Change-Id: I4b8d826ca1b7f07dcbc2e82e10bd11cee01da1fc
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/secure_fw/spm/spm_api.c b/secure_fw/spm/spm_api.c
index 7b96b11..ff68245 100644
--- a/secure_fw/spm/spm_api.c
+++ b/secure_fw/spm/spm_api.c
@@ -14,6 +14,7 @@
#include "spm_db_setup.h"
#include "tfm_internal.h"
#include "tfm_api.h"
+#include "tfm_nspm.h"
#include "secure_fw/core/tfm_core.h"
#include "platform_retarget.h"
#include "tfm_peripherals_def.h"
@@ -66,9 +67,6 @@
return SPM_INVALID_PARTITION_IDX;
}
-/* FixMe: this should be in a header */
-extern void tfm_nspm_configure_clients(void);
-
enum spm_err_t tfm_spm_db_init(void)
{
struct spm_partition_desc_t *part_ptr;