mirror of https://github.com/ARMmbed/mbed-os.git
M2351: Fix CRYPTO_MODBASE() when crypto module is configured to secure
This bug results from BSP update: - CRPT: Base address of secure or non-secure crypto module, dependent on partition - CRPT_S: Base address of secure crypto module - CRPT_NS: Base address of non-secured crypto modulepull/12424/head
parent
834e1aad60
commit
9f9ca0acaa
|
@ -52,7 +52,7 @@ __STATIC_INLINE CRPT_T *CRYPTO_MODBASE(void)
|
|||
#if defined(SCU_INIT_PNSSET1_VAL) && (SCU_INIT_PNSSET1_VAL & (1<<18))
|
||||
return CRPT_NS;
|
||||
#else
|
||||
return CRPT;
|
||||
return CRPT_S;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue