From 73ddfa9f88a6ef864c71859cf3b9fb9e56bc1b78 Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Mon, 29 Apr 2019 16:42:33 +0300 Subject: [PATCH] Call psa_spm_init() before staring the NS core --- rtos/TARGET_CORTEX/mbed_rtos_rtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtos/TARGET_CORTEX/mbed_rtos_rtx.c b/rtos/TARGET_CORTEX/mbed_rtos_rtx.c index d36ceffa14..39f02787c7 100644 --- a/rtos/TARGET_CORTEX/mbed_rtos_rtx.c +++ b/rtos/TARGET_CORTEX/mbed_rtos_rtx.c @@ -91,8 +91,8 @@ MBED_NORETURN void mbed_rtos_start() #if defined(COMPONENT_SPE) // At this point, the mailbox is already initialized - spm_hal_start_nspe(); psa_spm_init(); + spm_hal_start_nspe(); #endif // defined(COMPONENT_SPE) #if defined(COMPONENT_NSPE) && defined(COMPONENT_SPM_MAILBOX)