forked from Mirrors/opensbi
lib: utils/reset: Add syscon based reboot and poweroff
Let us have common FDT based reset driver for syscon reboot and poweroff. The device tree bindings for syscon reboot and poweroff are already available in the Linux kernel sources. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Xiang W <wxjstz@126.com>
This commit is contained in:
@@ -33,6 +33,11 @@ config FDT_RESET_SUNXI_WDT
|
||||
bool "Sunxi WDT FDT reset driver"
|
||||
default n
|
||||
|
||||
config FDT_RESET_SYSCON
|
||||
bool "Syscon FDT reset driver"
|
||||
depends on FDT_REGMAP
|
||||
default n
|
||||
|
||||
config FDT_RESET_THEAD
|
||||
bool "T-HEAD FDT reset driver"
|
||||
default n
|
||||
|
Reference in New Issue
Block a user