soc: arm: remove all unnecessary NMI_INIT() calls

NMI_INIT() is now a no-op, so remove it from all SoC code. Also remove
the irq lock/unlock pattern as it was likely a cause of copy&paste when
NMI_INIT() was called.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2023-06-30 11:15:25 +02:00 committed by Carles Cufí
commit fcaa259e22
81 changed files with 4 additions and 1198 deletions

View file

@ -45,12 +45,6 @@ void z_arm_platform_init(void)
static int soc_init(void)
{
/* Install default handler that simply resets the CPU if configured in the
* kernel, NOP otherwise
*/
NMI_INIT();
OsIf_Init(NULL);
#ifdef CONFIG_INIT_CLOCK_AT_BOOT_TIME