Core: Change the signature of entry point
According to PSA FF, the signature of entry point should be
"void entry_point(void)"
Change-Id: Id5b5be8012da3ce9753db2e48818fd79467bb425
Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/secure_fw/spm/spm_db.h b/secure_fw/spm/spm_db.h
index 14e5074..3c3aa95 100644
--- a/secure_fw/spm/spm_db.h
+++ b/secure_fw/spm/spm_db.h
@@ -11,7 +11,7 @@
struct spm_partition_desc_t;
struct spm_partition_db_t;
-typedef psa_status_t(*sp_init_function)(void);
+typedef void(*sp_entry_point)(void);
#define TFM_PARTITION_TYPE_APP "APPLICATION-ROT"
#define TFM_PARTITION_TYPE_PSA "PSA-ROT"
@@ -40,7 +40,7 @@
uint32_t partition_id;
uint32_t partition_flags;
uint32_t partition_priority;
- sp_init_function partition_init;
+ sp_entry_point partition_init;
};
/**