Revert "SPM: Fix CCR.TRD setting for Armv8.1-M"

This reverts commit a04206a06e.
This commit is contained in:
Jimmy Brisson 2022-05-05 07:52:31 -05:00
parent 7d534e8dcc
commit 05f9f877d2
1 changed files with 1 additions and 1 deletions

View File

@ -244,11 +244,11 @@ void tfm_arch_config_extensions(void)
/* Prevent non-secure from modifying FPUs power setting. */
SCnSCB->CPPWR |= SCnSCB_CPPWR_SUS11_Msk | SCnSCB_CPPWR_SUS10_Msk;
#endif /* CONFIG_TFM_FP >= 1 */
#if defined(__ARM_ARCH_8_1M_MAIN__)
SCB->CCR |= SCB_CCR_TRD_Msk;
#endif
#endif
}
__attribute__((naked, noinline)) void tfm_arch_clear_fp_status(void)