summaryrefslogtreecommitdiff
path: root/drivers/sysreset
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-09-05 17:40:49 +0300
committerLeo Yu-Chi Liang <ycliang@andestech.com>2022-09-06 08:00:58 +0300
commit4a98207b2335b7108e964b831dc92f0333346c87 (patch)
tree93a6c332df5ed07cbdc95099ed8104317128c0de /drivers/sysreset
parentaa8aa48b4c32fafaf2c393b4a937b0b35668943e (diff)
downloadu-boot-4a98207b2335b7108e964b831dc92f0333346c87.tar.xz
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>
Diffstat (limited to 'drivers/sysreset')
-rw-r--r--drivers/sysreset/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index a0acffa4b0..03f7fdd597 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.