diff options
Diffstat (limited to 'os/hal/platforms/SPC560BCxx/hal_lld.c')
-rw-r--r-- | os/hal/platforms/SPC560BCxx/hal_lld.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC560BCxx/hal_lld.c b/os/hal/platforms/SPC560BCxx/hal_lld.c index b7e157dc5..0be4cfb57 100644 --- a/os/hal/platforms/SPC560BCxx/hal_lld.c +++ b/os/hal/platforms/SPC560BCxx/hal_lld.c @@ -176,6 +176,9 @@ void spc_clock_init(void) { CFLASH.PFCR1.B.BK1_APC = 2;
CFLASH.PFCR1.B.BK1_RWSC = 2;
+ /* Initialization of e200z0 special registers.*/
+ port_mtspr(1013, 0x00000001); /* BPEN=1. */
+
#endif /* !SPC5_NO_INIT */
}
|