aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorKen Liu <Ken.Liu@arm.com>2021-04-17 11:04:23 +0800
committerKen Liu <ken.liu@arm.com>2021-04-20 07:57:39 +0200
commitcdaec9c383182052b8535b74e92a4799b98236cd (patch)
tree18ab858ef945e1328b9b5fb8591c4f9fdf1c8137 /platform
parente9aaa80bf84b981c65e326135f838aa5829980c9 (diff)
downloadtrusted-firmware-m-cdaec9c383182052b8535b74e92a4799b98236cd.tar.gz
SPM: Remove memory data list from template
- Move stack member out of memory data, and put it into partition static type. - Move the isolation level 3 data 'mems' into static info. There is only one member included in it at present, but eventually, this member would include multiple memory items. Change-Id: I007fa622b3e65887fa556fda253d7a6672c08cbf Signed-off-by: Ken Liu <Ken.Liu@arm.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/include/tfm_spm_hal.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/platform/include/tfm_spm_hal.h b/platform/include/tfm_spm_hal.h
index 7aaafeba6..11da3c9aa 100644
--- a/platform/include/tfm_spm_hal.h
+++ b/platform/include/tfm_spm_hal.h
@@ -37,27 +37,6 @@ enum irq_target_state_t {
TFM_IRQ_TARGET_STATE_NON_SECURE,
};
-#ifdef TFM_PSA_API
-/**
- * \brief Holds SPM db fields that define the memory regions used by a
- * partition.
- */
-struct tfm_spm_partition_memory_data_t
-{
-#if TFM_LVL == 3
- uint32_t data_start; /* Start of the private data region of current
- * partition. Specifically, the private data
- * includes RW, ZI and the partition stack below.
- */
- uint32_t data_limit; /* Address of the byte beyond the end of the data
- * region of this partition.
- */
-#endif
- uint32_t stack_bottom; /* The bottom of the stack for the partition. */
- uint32_t stack_top; /* The top of the stack for the partition. */
-};
-#endif
-
#ifdef TFM_FIH_PROFILE_ON
#ifdef CONFIG_TFM_ENABLE_MEMORY_PROTECT
/**