diff options
-rw-r--r-- | secure_fw/spm/cmsis_psa/spm_ipc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/secure_fw/spm/cmsis_psa/spm_ipc.c b/secure_fw/spm/cmsis_psa/spm_ipc.c index e3cb1763f5..02fa3dcee4 100644 --- a/secure_fw/spm/cmsis_psa/spm_ipc.c +++ b/secure_fw/spm/cmsis_psa/spm_ipc.c @@ -283,20 +283,6 @@ static uint32_t get_partition_idx(uint32_t partition_id) return SPM_INVALID_PARTITION_IDX; } -/** - * \brief Get the flags associated with a partition - * - * \param[in] partition_idx Partition index - * - * \return Flags associated with the partition - * - * \note This function doesn't check if partition_idx is valid. - */ -static uint32_t tfm_spm_partition_get_flags(uint32_t partition_idx) -{ - return g_spm_partition_db.partitions[partition_idx].p_ldinf->flags; -} - #if TFM_LVL != 1 /** * \brief Change the privilege mode for partition thread mode. |