xref: /OK3568_Linux_fs/u-boot/drivers/sysreset/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2# System reset devices
3#
4
5menu "System reset device drivers"
6
7config SYSRESET
8	bool "Enable support for system reset drivers"
9	depends on DM
10	help
11	  Enable system reset drivers which can be used to reset the CPU or
12	  board. Each driver can provide a reset method which will be called
13	  to effect a reset. The uclass will try all available drivers when
14	  reset_walk() is called.
15
16config SPL_SYSRESET
17	bool "Enable support for system reset drivers in SPL mode"
18	depends on SYSRESET && SPL_DM
19	help
20	  Enable system reset drivers which can be used to reset the CPU or
21	  board. Each driver can provide a reset method which will be called
22	  to effect a reset. The uclass will try all available drivers when
23	  reset_walk() is called.
24
25config TPL_SYSRESET
26	bool "Enable support for system reset drivers in TPL mode"
27	depends on SYSRESET && TPL_DM
28	help
29	  Enable system reset drivers which can be used to reset the CPU or
30	  board. Each driver can provide a reset method which will be called
31	  to effect a reset. The uclass will try all available drivers when
32	  reset_walk() is called.
33
34config SYSRESET_REG
35	hex "The sysreset register for the sysreset"
36	depends on !SYSRESET
37	default 0xff490408
38
39config SYSRESET_VAL
40	hex "The sysreset value for the sysreset"
41	depends on !SYSRESET
42	default 0x0000fdb9
43
44if SYSRESET
45
46config SYSRESET_PSCI
47	bool "Enable support for PSCI System Reset"
48	depends on ARM_PSCI_FW
49	default y if ARCH_ROCKCHIP
50	help
51	  Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
52	  must be running on your system.
53
54endif
55
56config SYSRESET_SYSCON
57	bool "Enable support for mfd syscon reboot driver"
58	select REGMAP
59	select SYSCON
60	help
61	  Reboot support for generic SYSCON mapped register reset.
62
63config SYSRESET_SYSCON_REBOOT
64	bool "Enable support for syscon reboot mode driver"
65	default y if ARCH_ROCKCHIP
66	help
67	  Reboot mode command, like: reboot bootloader, etc.
68
69config SYSRESET_WATCHDOG
70	bool "Enable support for watchdog reboot driver"
71	select WDT
72	help
73	  Reboot support for generic watchdog reset.
74
75endmenu
76