From: Heinrich Schuchardt Date: Mon, 5 Sep 2022 14:40:49 +0000 (+0200) Subject: RISC-V: enable CONFIG_SYSRESET_SBI by default X-Git-Tag: v2022.10~25^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a98207b2335b7108e964b831dc92f0333346c87;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Leo Yu-Chi Liang --- diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig index a0acffa..03f7fdd 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -113,6 +113,7 @@ config SYSRESET_PSCI config SYSRESET_SBI bool "Enable support for SBI System Reset" depends on RISCV_SMODE && SBI_V02 + default y select SYSRESET_CMD_POWEROFF if CMD_POWEROFF help Enable system reset and poweroff via the SBI system reset extension.