* [PATCH 1/1] RISC-V: enable CONFIG_SYSRESET_SBI by default
@ 2022-09-05 14:40 Heinrich Schuchardt
2022-09-06 1:44 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2022-09-05 14:40 UTC (permalink / raw)
To: Rick Chen, Leo; +Cc: u-boot, Heinrich Schuchardt
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>
---
drivers/sysreset/Kconfig | 1 +
1 file changed, 1 insertion(+)
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.
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-06 1:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 14:40 [PATCH 1/1] RISC-V: enable CONFIG_SYSRESET_SBI by default Heinrich Schuchardt
2022-09-06 1:44 ` Leo Liang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox