Core: Restructure partition service data
The patch modifies template files related to the service data
so that instead of generating service database array only,
a C structure initialiser is generated directly for the whole
service data.
Change-Id: If756ec9cd2a39db52b81c4770fa1cac6edf41b7c
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/secure_fw/spm/spm_api.h b/secure_fw/spm/spm_api.h
index 02c5dbf..eb2d107 100644
--- a/secure_fw/spm/spm_api.h
+++ b/secure_fw/spm/spm_api.h
@@ -136,7 +136,7 @@
/* RoT Service data */
struct tfm_spm_service_t {
- struct tfm_spm_service_db_t *service_db; /* Service database pointer */
+ struct tfm_spm_service_db_t service_db; /* Service database pointer */
struct spm_partition_desc_t *partition; /*
* Point to secure partition
* data