arm: cmsis: Convert _ScbDivByZeroFaultEnable to use direct CMSIS register access

Jira: ZEP-1568

Change-Id: I0118f2d44d2b6fb4eac41b0c66b20c5a85e35795
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-01-27 20:40:05 -06:00 committed by Maureen Helm
commit 1a146174cb
2 changed files with 1 additions and 16 deletions

View file

@ -379,7 +379,7 @@ void _FaultInit(void)
{
#if defined(CONFIG_ARMV6_M)
#elif defined(CONFIG_ARMV7_M)
_ScbDivByZeroFaultEnable();
SCB->CCR |= SCB_CCR_DIV_0_TRP_Msk;
#else
#error Unknown ARM architecture
#endif /* CONFIG_ARMV6_M */