diff options
author | edolomb <none@example.com> | 2018-01-15 20:20:11 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-01-15 20:20:11 +0000 |
commit | 96fcbfd22103beae2f7cc8ff2cd1fca85135a2c5 (patch) | |
tree | 658028197b3f3ec1c4903f302bfd84d9d96f7f10 /os/hal/ports/SAMA | |
parent | 8c55bff0adfcbe032123202788492f4e8715beef (diff) | |
download | ChibiOS-96fcbfd22103beae2f7cc8ff2cd1fca85135a2c5.tar.gz ChibiOS-96fcbfd22103beae2f7cc8ff2cd1fca85135a2c5.tar.bz2 ChibiOS-96fcbfd22103beae2f7cc8ff2cd1fca85135a2c5.zip |
Added security configuration
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11282 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r-- | os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c | 3 |
1 files changed, 3 insertions, 0 deletions
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
|