SPM: Change partition platform data binding
- Rename the long name 'tfm_spm_partition_platform_data_t'
to 'platform_data_t'.
- Platform data list is now part of partition static data.
- Update related init logic related to this name and position
change.
Change-Id: I1676f35b53f9c3074a70ab4fb68673a347bd422f
Signed-off-by: Ken Liu <Ken.Liu@arm.com>
diff --git a/secure_fw/spm/cmsis_psa/spm_ipc.h b/secure_fw/spm/cmsis_psa/spm_ipc.h
index 303c543..8d23c52 100644
--- a/secure_fw/spm/cmsis_psa/spm_ipc.h
+++ b/secure_fw/spm/cmsis_psa/spm_ipc.h
@@ -92,6 +92,7 @@
size_t stack_size; /* Stack size of the partition */
uintptr_t heap_base_addr; /* Heap base of the partition */
size_t heap_size; /* Heap size of the partition */
+ uintptr_t platform_data; /* Platform specific data */
uint32_t ndeps; /* Numbers of depended services */
uint32_t *deps; /* Pointer to dependency arrays */
};
@@ -112,7 +113,6 @@
uint32_t signals_waiting;
uint32_t signals_asserted;
/** A list of platform_data pointers */
- const struct tfm_spm_partition_platform_data_t **platform_data_list;
const struct tfm_spm_partition_memory_data_t *memory_data;
};