diff options
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/hal_lld.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c index 707fed5cc..f62a63dd6 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c +++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c @@ -76,6 +76,11 @@ void hal_lld_init(void) { /* Configures PMC and RTC as secure */
mtxConfigPeriphSecurity(MATRIX1, ID_SYSC, SECURE_PER);
+ mtxConfigPeriphSecurity(MATRIX1, ID_SFC, SECURE_PER);
+ mtxConfigPeriphSecurity(MATRIX1, ID_SFR, SECURE_PER);
+ mtxConfigPeriphSecurity(MATRIX0, ID_L2CC, SECURE_PER);
+ mtxConfigPeriphSecurity(MATRIX1, ID_SFRBU, SECURE_PER);
+ mtxConfigPeriphSecurity(MATRIX1, ID_CHIPID, SECURE_PER);
/* Enabling matrix clock */
pmcEnableH32MX();
|