Skip to content

Commit ba429a8

Browse files
authored
Merge pull request #10507 from kfnta/mbed_spm_init
PSA: mbedSPM correct SPM initialization order
2 parents 1de0712 + 73ddfa9 commit ba429a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtos/TARGET_CORTEX/mbed_rtos_rtx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ MBED_NORETURN void mbed_rtos_start()
9191

9292
#if defined(COMPONENT_SPE)
9393
// At this point, the mailbox is already initialized
94-
spm_hal_start_nspe();
9594
psa_spm_init();
95+
spm_hal_start_nspe();
9696
#endif // defined(COMPONENT_SPE)
9797

9898
#if defined(COMPONENT_NSPE) && defined(COMPONENT_SPM_MAILBOX)

0 commit comments

Comments
 (0)