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:
parent
f1263f5868
commit
053697cd5f
1 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue