soc: arm: rpi_pico: use aarch32 common nmi init definitions

Remove per soc definitions that are already defined in the exact same
way in include/zephyr/arch/arm/aarch32/nmi.h.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2023-04-07 12:07:39 +02:00 committed by Carles Cufí
commit 053697cd5f

View file

@ -15,6 +15,7 @@
#include <stdio.h>
#include <zephyr/arch/arm/aarch32/nmi.h>
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
@ -24,13 +25,6 @@
#include <hardware/clocks.h>
#include <hardware/resets.h>
#ifdef CONFIG_RUNTIME_NMI
extern void z_arm_nmi_init(void);
#define NMI_INIT() z_arm_nmi_init()
#else
#define NMI_INIT()
#endif
LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL);
static int rp2040_init(const struct device *arg)