Merge pull request #10507 from kfnta/mbed_spm_init

PSA: mbedSPM correct SPM initialization order
pull/10513/head
Martin Kojtal 2019-04-30 12:00:14 +01:00 committed by GitHub
commit ba429a88b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)