]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
RISC-V: enable CONFIG_SYSRESET_SBI by default
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 5 Sep 2022 14:40:49 +0000 (16:40 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 6 Sep 2022 05:00:58 +0000 (13:00 +0800)
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>
drivers/sysreset/Kconfig

index a0acffa4b0743553a45652b862c9c5e41b987fbf..03f7fdd59785212af044290fde14b5044a680e4c 100644 (file)
@@ -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.