xref: /openbmc/u-boot/drivers/sysreset/Kconfig (revision fabb2b4c7f28e672080a97980c4bb1a45375cbb3)
1b25732c2SMax Filippov#
2b25732c2SMax Filippov# System reset devices
3b25732c2SMax Filippov#
4b25732c2SMax Filippov
5b25732c2SMax Filippovmenu "System reset device drivers"
6b25732c2SMax Filippov
7b25732c2SMax Filippovconfig SYSRESET
8b25732c2SMax Filippov	bool "Enable support for system reset drivers"
9b25732c2SMax Filippov	depends on DM
10b25732c2SMax Filippov	help
11b25732c2SMax Filippov	  Enable system reset drivers which can be used to reset the CPU or
12b25732c2SMax Filippov	  board. Each driver can provide a reset method which will be called
13b25732c2SMax Filippov	  to effect a reset. The uclass will try all available drivers when
14b25732c2SMax Filippov	  reset_walk() is called.
15b25732c2SMax Filippov
16573a3811SMasahiro Yamadaif SYSRESET
17573a3811SMasahiro Yamada
180d832b32SMichal Simekconfig SYSRESET_GPIO
190d832b32SMichal Simek	bool "Enable support for GPIO reset driver"
200d832b32SMichal Simek	select GPIO
210d832b32SMichal Simek	help
220d832b32SMichal Simek	  Reset support via GPIO pin connected reset logic. This is used for
230d832b32SMichal Simek	  example on Microblaze where reset logic can be controlled via GPIO
240d832b32SMichal Simek	  pin which triggers cpu reset.
250d832b32SMichal Simek
26cae39ae3SMichal Simekconfig SYSRESET_MICROBLAZE
27cae39ae3SMichal Simek	bool "Enable support for Microblaze soft reset"
28cae39ae3SMichal Simek	depends on MICROBLAZE
29cae39ae3SMichal Simek	help
30cae39ae3SMichal Simek	  This is soft reset on Microblaze which does jump to 0x0 address.
31cae39ae3SMichal Simek
32573a3811SMasahiro Yamadaconfig SYSRESET_PSCI
33573a3811SMasahiro Yamada	bool "Enable support for PSCI System Reset"
34573a3811SMasahiro Yamada	depends on ARM_PSCI_FW
35573a3811SMasahiro Yamada	help
36573a3811SMasahiro Yamada	  Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
37573a3811SMasahiro Yamada	  must be running on your system.
38573a3811SMasahiro Yamada
39573a3811SMasahiro Yamadaendif
40e3889691SÁlvaro Fernández Rojas
41e3889691SÁlvaro Fernández Rojasconfig SYSRESET_SYSCON
42e3889691SÁlvaro Fernández Rojas	bool "Enable support for mfd syscon reboot driver"
43e3889691SÁlvaro Fernández Rojas	select REGMAP
44e3889691SÁlvaro Fernández Rojas	select SYSCON
45e3889691SÁlvaro Fernández Rojas	help
46e3889691SÁlvaro Fernández Rojas	  Reboot support for generic SYSCON mapped register reset.
47e3889691SÁlvaro Fernández Rojas
4817a0c141SÁlvaro Fernández Rojasconfig SYSRESET_WATCHDOG
4917a0c141SÁlvaro Fernández Rojas	bool "Enable support for watchdog reboot driver"
5017a0c141SÁlvaro Fernández Rojas	select WDT
5117a0c141SÁlvaro Fernández Rojas	help
5217a0c141SÁlvaro Fernández Rojas	  Reboot support for generic watchdog reset.
5317a0c141SÁlvaro Fernández Rojas
54*fabb2b4cSBin Mengconfig SYSRESET_X86
55*fabb2b4cSBin Meng	bool "Enable support for x86 processor reboot driver"
56*fabb2b4cSBin Meng	depends on X86
57*fabb2b4cSBin Meng	help
58*fabb2b4cSBin Meng	  Reboot support for generic x86 processor reset.
59*fabb2b4cSBin Meng
60b25732c2SMax Filippovendmenu
61