soc: arm: move z_clearfaults() in kernel_arch_init()
In kernel_arch_init() we initialize the ARM core (interrupt setup, fault init, etc.) so we can also move z_clearfaults() in the same function and skip invoking it in the SoC init functions. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
348b0266d8
commit
fb713aa062
26 changed files with 1 additions and 52 deletions
|
@ -232,8 +232,6 @@ static int ke1xf_init(struct device *arg)
|
|||
SYSMPU->CESR = temp_reg;
|
||||
#endif /* !CONFIG_ARM_MPU */
|
||||
|
||||
z_clearfaults();
|
||||
|
||||
/* Initialize system clocks and PLL */
|
||||
clk_init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue