Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 1 | # |
| 2 | # System reset devices |
| 3 | # |
| 4 | |
| 5 | menu "System reset device drivers" |
| 6 | |
| 7 | config 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 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 16 | if SYSRESET |
| 17 | |
Michal Simek | 8a196af | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 18 | config SYSRESET_GPIO |
| 19 | bool "Enable support for GPIO reset driver" |
| 20 | select GPIO |
| 21 | help |
| 22 | Reset support via GPIO pin connected reset logic. This is used for |
| 23 | example on Microblaze where reset logic can be controlled via GPIO |
| 24 | pin which triggers cpu reset. |
| 25 | |
Michal Simek | d1c6d42 | 2018-07-13 17:00:13 +0200 | [diff] [blame] | 26 | config SYSRESET_MICROBLAZE |
| 27 | bool "Enable support for Microblaze soft reset" |
| 28 | depends on MICROBLAZE |
| 29 | help |
| 30 | This is soft reset on Microblaze which does jump to 0x0 address. |
| 31 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 32 | config SYSRESET_PSCI |
| 33 | bool "Enable support for PSCI System Reset" |
| 34 | depends on ARM_PSCI_FW |
| 35 | help |
| 36 | Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware |
| 37 | must be running on your system. |
| 38 | |
| 39 | endif |
Álvaro Fernández Rojas | aa19aaf | 2017-04-25 00:39:14 +0200 | [diff] [blame] | 40 | |
| 41 | config SYSRESET_SYSCON |
| 42 | bool "Enable support for mfd syscon reboot driver" |
| 43 | select REGMAP |
| 44 | select SYSCON |
| 45 | help |
| 46 | Reboot support for generic SYSCON mapped register reset. |
| 47 | |
Álvaro Fernández Rojas | 0da081e | 2017-05-16 18:29:13 +0200 | [diff] [blame] | 48 | config SYSRESET_WATCHDOG |
| 49 | bool "Enable support for watchdog reboot driver" |
| 50 | select WDT |
| 51 | help |
| 52 | Reboot support for generic watchdog reset. |
| 53 | |
Bin Meng | d18cdd4 | 2018-07-03 02:48:40 -0700 | [diff] [blame] | 54 | config SYSRESET_X86 |
| 55 | bool "Enable support for x86 processor reboot driver" |
| 56 | depends on X86 |
| 57 | help |
| 58 | Reboot support for generic x86 processor reset. |
| 59 | |
Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 60 | endmenu |