Added security configuration
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11282 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
8c55bff0ad
commit
96fcbfd221
|
@ -83,6 +83,9 @@ OSAL_IRQ_HANDLER(SAMA_SDMMCD1_HANDLER) {
|
|||
void sdmmcInit(void)
|
||||
{
|
||||
#if PLATFORM_SDMMC_USE_SDMMC1 == TRUE
|
||||
#if SAMA_HAL_IS_SECURE
|
||||
mtxConfigPeriphSecurity(MATRIX0, ID_SDMMC1, SECURE_PER);
|
||||
#endif /* SAMA_HAL_IS_SECURE */
|
||||
/* Driver initialization.*/
|
||||
sdmmcObjectInit(&SDMMCD1);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue