soc: openisa_rv32m1: Implement sys_arch_reboot()
Implements sys_arch_reboot() on the openisa_rv32m1 soc to enable zephyr micropython on the rv32m1_vega board. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
3f4aa6316c
commit
a0335b5223
1 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,13 @@ static const scg_lpfll_config_t rv32m1_lpfll_cfg = {
|
|||
.trimConfig = NULL,
|
||||
};
|
||||
|
||||
void sys_arch_reboot(int type)
|
||||
{
|
||||
ARG_UNUSED(type);
|
||||
|
||||
EVENT_UNIT->SLPCTRL |= EVENT_SLPCTRL_SYSRSTREQST_MASK;
|
||||
}
|
||||
|
||||
void _arch_irq_enable(unsigned int irq)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_MULTI_LEVEL_INTERRUPTS)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue