Revert "SPM: Fix CCR.TRD setting for Armv8.1-M"
This reverts commit a04206a06e
.
This commit is contained in:
parent
7d534e8dcc
commit
05f9f877d2
|
@ -244,11 +244,11 @@ void tfm_arch_config_extensions(void)
|
|||
|
||||
/* Prevent non-secure from modifying FPU’s 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)
|
||||
|
|
Loading…
Reference in New Issue