SPM: Increase BASEPRI only if CONFIG_TFM_USE_TRUSTZONE is ON
If CONFIG_TFM_USE_TRUSTZONE is OFF then there is no on core NSPE
thus CONFIG_TFM_SECURE_THREAD_MASK_NS_INTERRUPT can be ignored
as there is no NS interrupts.
This also fixes build error in case
CONFIG_TFM_SECURE_THREAD_MASK_NS_INTERRUPT==ON
CONFIG_TFM_USE_TRUSTZONE==OFF
Fix for c05bc29831b10218b3da582830d05debb228b4c1.
Signed-off-by: Bohdan Hunko <Bohdan.Hunko@infineon.com>
Change-Id: I9411ad3fec9190665ed516e8b0eba4c36e943271
1 file changed