From 96fcbfd22103beae2f7cc8ff2cd1fca85135a2c5 Mon Sep 17 00:00:00 2001 From: edolomb Date: Mon, 15 Jan 2018 20:20:11 +0000 Subject: Added security configuration git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11282 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c') diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c index 7aed656dc..f21aca143 100644 --- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c +++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c @@ -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 -- cgit v1.2.3