diff options
author | isiora <none@example.com> | 2018-04-13 14:05:46 +0000 |
---|---|---|
committer | isiora <none@example.com> | 2018-04-13 14:05:46 +0000 |
commit | bd9a89064099259f80a6aaebd84b79a251807e01 (patch) | |
tree | a7b210156b417864da7e26173953b527df982fd6 | |
parent | e367e16c6ad30dc3c0cf64084062a6569f624604 (diff) | |
download | ChibiOS-bd9a89064099259f80a6aaebd84b79a251807e01.tar.gz ChibiOS-bd9a89064099259f80a6aaebd84b79a251807e01.tar.bz2 ChibiOS-bd9a89064099259f80a6aaebd84b79a251807e01.zip |
Set PMC and SYSC as non secure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11934 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/hal_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c index 030085b1b..f45928b56 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c +++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c @@ -75,8 +75,8 @@ void hal_lld_init(void) { MATRIX1->MATRIX_SPSELR[2] = 0xFFFFFFFF;
/* Configures PMC and RTC as secure */
- /* TODO temporary disable configuration of ID_SYSC */
-// mtxConfigPeriphSecurity(MATRIX1, ID_SYSC, SECURE_PER);
+ //mtxConfigPeriphSecurity(MATRIX1, ID_SYSC, SECURE_PER);
+ //mtxConfigPeriphSecurity(MATRIX0, ID_PMC, SECURE_PER);
mtxConfigPeriphSecurity(MATRIX1, ID_SFC, SECURE_PER);
mtxConfigPeriphSecurity(MATRIX1, ID_SFR, SECURE_PER);
mtxConfigPeriphSecurity(MATRIX0, ID_L2CC, SECURE_PER);
|