blob: a6755f0f15805f4186d2409efcbc479fd5e25245 [file] [log] [blame]
/*
* Copyright (c) 2020 Henrik Brix Andersen <henrik@brixandersen.dk>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/device.h>
static int arm_designstart_init(const struct device *arg)
{
ARG_UNUSED(arg);
/*
* Install default handler that simply resets the CPU if
* configured in the kernel, NOP otherwise
*/
NMI_INIT();
return 0;
}
SYS_INIT(arm_designstart_init, PRE_KERNEL_1, 0);