Skip to content
Commit e58e2767 authored by Katsuhiro Suzuki's avatar Katsuhiro Suzuki Committed by Maureen Helm
Browse files

arch: riscv: add common stub reboot function



This patch adds weak sys_arch_reboot() function to avoid build error
with CONFIG_REBOOT=y. Some SoC has already had own reboot function
but others (Ex. qemu boards) faced buld error.

- openisa_rv32m1: Not change
- riscv-ite: Do nothing, remove and use arch/riscv function

Signed-off-by: default avatarKatsuhiro Suzuki <katsuhiro@katsuster.net>
parent 865ed89b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment