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/platform/include/tfm_spm_hal.h b/platform/include/tfm_spm_hal.h
index 4bdeccc..bfe8426 100644
--- a/platform/include/tfm_spm_hal.h
+++ b/platform/include/tfm_spm_hal.h
@@ -29,7 +29,7 @@
* platform in the header file tfm_peripherals_def.h. For details on this, see
* the documentation of that file.
*/
-struct tfm_spm_partition_platform_data_t;
+struct platform_data_t;
enum irq_target_state_t {
TFM_IRQ_TARGET_STATE_SECURE,
@@ -84,7 +84,7 @@
*/
enum tfm_plat_err_t tfm_spm_hal_configure_default_isolation(
uint32_t partition_idx,
- const struct tfm_spm_partition_platform_data_t *platform_data);
+ const struct platform_data_t *platform_data);
/**
* \brief Configures the system debug properties.
* The default configuration of this function should disable secure debug