mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-06-17 16:41:19 +01:00
lib: utils/reset: Add litex SoC reset driver
Litex SoC controller supports reboot function by toggling the first bit of the ctrl register. Add a reset driver so other software can use it. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260529085234.1682842-1-inochiama@gmail.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
committed by
Anup Patel
parent
9c9767504d
commit
dec9141a77
@@ -24,6 +24,11 @@ config FDT_RESET_HTIF
|
||||
select SYS_HTIF
|
||||
default n
|
||||
|
||||
config FDT_RESET_LITEX
|
||||
bool "LITEX SoC reset driver"
|
||||
depends on FDT_GPIO
|
||||
default n
|
||||
|
||||
config FDT_RESET_RPMI
|
||||
bool "RPMI FDT reset driver"
|
||||
depends on FDT_MAILBOX && RPMI_MAILBOX
|
||||
|
||||
Reference in New Issue
Block a user