blob: 6ebc90e1d33ba05a48bfa34e34bd31f660fdb26a [file] [log] [blame]
Max Filippov88574052016-08-07 08:53:00 +03001#
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
Kever Yang525ea472019-04-02 20:41:25 +080016config 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
Masahiro Yamada836c55d2017-04-14 11:10:24 +090034if SYSRESET
35
Urja Rannikkoe008ebf2019-05-16 21:48:42 +000036if CMD_POWEROFF
37
38config SYSRESET_CMD_POWEROFF
39 bool "sysreset implementation of the poweroff command"
40 help
41 This should be selected by the appropriate PMIC driver if
42 the poweroff command is enabled.
43
44endif
45
Michal Simek8a196af2018-07-13 11:04:56 +020046config SYSRESET_GPIO
47 bool "Enable support for GPIO reset driver"
Chris Packhama373e512019-04-13 20:35:23 +120048 select DM_GPIO
Michal Simek8a196af2018-07-13 11:04:56 +020049 help
50 Reset support via GPIO pin connected reset logic. This is used for
51 example on Microblaze where reset logic can be controlled via GPIO
52 pin which triggers cpu reset.
53
Michal Simekd1c6d422018-07-13 17:00:13 +020054config SYSRESET_MICROBLAZE
55 bool "Enable support for Microblaze soft reset"
56 depends on MICROBLAZE
57 help
58 This is soft reset on Microblaze which does jump to 0x0 address.
59
Stefan Roese4df2d0d2020-06-30 12:08:55 +020060config SYSRESET_OCTEON
61 bool "Enable support for Marvell Octeon SoC family"
62 depends on ARCH_OCTEON
63 help
64 This enables the system reset driver support for Marvell Octeon
65 SoCs.
66
Masahiro Yamada836c55d2017-04-14 11:10:24 +090067config SYSRESET_PSCI
68 bool "Enable support for PSCI System Reset"
69 depends on ARM_PSCI_FW
Simon Goldschmidte5f741a2019-07-16 21:29:32 +020070 select SPL_ARM_PSCI_FW if SPL
Masahiro Yamada836c55d2017-04-14 11:10:24 +090071 help
72 Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
73 must be running on your system.
74
Simon Goldschmidtbe366392019-07-15 21:47:53 +020075config SYSRESET_SOCFPGA
76 bool "Enable support for Intel SOCFPGA family"
77 depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
78 help
79 This enables the system reset driver support for Intel SOCFPGA SoCs
80 (Cyclone 5, Arria 5 and Arria 10).
81
Simon Goldschmidtebfb9fb2019-07-15 21:47:54 +020082config SYSRESET_SOCFPGA_S10
83 bool "Enable support for Intel SOCFPGA Stratix 10"
84 depends on ARCH_SOCFPGA && TARGET_SOCFPGA_STRATIX10
85 help
86 This enables the system reset driver support for Intel SOCFPGA
87 Stratix SoCs.
88
Andreas Dannenbergebc68792018-08-27 15:57:46 +053089config SYSRESET_TI_SCI
90 bool "TI System Control Interface (TI SCI) system reset driver"
91 depends on TI_SCI_PROTOCOL
92 help
93 This enables the system reset driver support over TI System Control
94 Interface available on some new TI's SoCs.
95
Masahiro Yamada836c55d2017-04-14 11:10:24 +090096endif
Álvaro Fernández Rojasaa19aaf2017-04-25 00:39:14 +020097
98config SYSRESET_SYSCON
99 bool "Enable support for mfd syscon reboot driver"
100 select REGMAP
101 select SYSCON
102 help
103 Reboot support for generic SYSCON mapped register reset.
104
Álvaro Fernández Rojas0da081e2017-05-16 18:29:13 +0200105config SYSRESET_WATCHDOG
106 bool "Enable support for watchdog reboot driver"
107 select WDT
108 help
109 Reboot support for generic watchdog reset.
110
developer1aa30892020-04-21 09:28:29 +0200111config SYSRESET_RESETCTL
112 bool "Enable support for reset controller reboot driver"
113 select DM_RESET
114 help
115 Reboot support using generic reset controller.
116
Bin Mengd18cdd42018-07-03 02:48:40 -0700117config SYSRESET_X86
118 bool "Enable support for x86 processor reboot driver"
119 depends on X86
120 help
121 Reboot support for generic x86 processor reset.
122
Simon Glassd22c1352019-09-25 08:11:24 -0600123config SYSRESET_SPL_X86
124 bool "Enable support for x86 processor reboot driver in SPL"
125 depends on X86
126 help
127 Reboot support for generic x86 processor reset in SPL.
128
129config SYSRESET_TPL_X86
130 bool "Enable support for x86 processor reboot driver in TPL"
131 depends on X86
132 help
133 Reboot support for generic x86 processor reset in TPL.
134
Rasmus Villemoesb007e2e2019-12-13 15:47:58 +0000135config SYSRESET_MPC83XX
Mario Six82ef4ba2018-08-06 10:23:35 +0200136 bool "Enable support MPC83xx SoC family reboot driver"
137 help
138 Reboot support for NXP MPC83xx SoCs.
139
Max Filippov88574052016-08-07 08:53:00 +0300140endmenu