SPM: Use separate head file for different models
Remove 'spm_api.h' head file by separating and moving the
content to each model's own head file, copy the common
definitions to both files.
Change-Id: I429c8a1a90c7156771c15e1340482c54684f99bb
Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
diff --git a/secure_fw/spm/cmsis_func/spm_func.c b/secure_fw/spm/cmsis_func/spm_func.c
index 9cfd1a8..c42d195 100644
--- a/secure_fw/spm/cmsis_func/spm_func.c
+++ b/secure_fw/spm/cmsis_func/spm_func.c
@@ -17,10 +17,12 @@
#include "tfm_peripherals_def.h"
#include "tfm_secure_api.h"
#include "tfm_spm_hal.h"
-#include "spm_api.h"
+#include "spm_func.h"
#include "spm_db.h"
#include "region_defs.h"
#include "region.h"
+#include "spm_partition_defs.h"
+#include "psa_manifest/pid.h"
#include "tfm/tfm_spm_services.h"
#include "tfm_spm_db_func.inc"