mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
RISC-V: enable CONFIG_SYSRESET_SBI by default
System reset via the SRST extension in the SBI should be the default. The driver checks if the extension is available when probing. So there is no risk in enabling it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
parent
aa8aa48b4c
commit
4a98207b23
@ -113,6 +113,7 @@ config SYSRESET_PSCI
|
|||||||
config SYSRESET_SBI
|
config SYSRESET_SBI
|
||||||
bool "Enable support for SBI System Reset"
|
bool "Enable support for SBI System Reset"
|
||||||
depends on RISCV_SMODE && SBI_V02
|
depends on RISCV_SMODE && SBI_V02
|
||||||
|
default y
|
||||||
select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
|
select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
|
||||||
help
|
help
|
||||||
Enable system reset and poweroff via the SBI system reset extension.
|
Enable system reset and poweroff via the SBI system reset extension.
|
||||||
|
Loading…
Reference in New Issue
Block a user