forked from Mirrors/opensbi

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>
48 lines
799 B
Plaintext
48 lines
799 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "System Reset Support"
|
|
|
|
config FDT_RESET
|
|
bool "FDT based reset drivers"
|
|
depends on FDT
|
|
default n
|
|
|
|
if FDT_RESET
|
|
|
|
config FDT_RESET_ATCWDT200
|
|
bool "Andes WDT FDT reset driver"
|
|
depends on SYS_ATCSMU
|
|
default n
|
|
|
|
config FDT_RESET_GPIO
|
|
bool "GPIO FDT reset driver"
|
|
depends on FDT_GPIO
|
|
default n
|
|
|
|
config FDT_RESET_HTIF
|
|
bool "Host transfer interface (HTIF) FDT reset driver"
|
|
select SYS_HTIF
|
|
default n
|
|
|
|
config FDT_RESET_SIFIVE_TEST
|
|
bool "SiFive Test FDT reset driver"
|
|
select SYS_SIFIVE_TEST
|
|
default n
|
|
|
|
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
|
|
|
|
endif
|
|
|
|
endmenu
|