Max Filippov | b25732c | 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 | |
Kever Yang | 09259fc | 2019-04-02 20:41:25 +0800 | [diff] [blame] | 16 | config 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 | |
| 25 | config 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 Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 34 | if SYSRESET |
| 35 | |
Urja Rannikko | b805051 | 2019-05-16 21:48:42 +0000 | [diff] [blame] | 36 | if CMD_POWEROFF |
| 37 | |
| 38 | config 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 | |
| 44 | endif |
| 45 | |
Michal Simek | 0d832b3 | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 46 | config SYSRESET_GPIO |
| 47 | bool "Enable support for GPIO reset driver" |
Chris Packham | 26680b9 | 2019-04-13 20:35:23 +1200 | [diff] [blame] | 48 | select DM_GPIO |
Michal Simek | 0d832b3 | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 49 | 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 Simek | cae39ae | 2018-07-13 17:00:13 +0200 | [diff] [blame] | 54 | config 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 | |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 60 | config SYSRESET_PSCI |
| 61 | bool "Enable support for PSCI System Reset" |
| 62 | depends on ARM_PSCI_FW |
Simon Goldschmidt | a8b5031 | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 63 | select SPL_ARM_PSCI_FW if SPL |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 64 | help |
| 65 | Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware |
| 66 | must be running on your system. |
| 67 | |
Simon Goldschmidt | 1f16688 | 2019-07-15 21:47:53 +0200 | [diff] [blame] | 68 | config SYSRESET_SOCFPGA |
| 69 | bool "Enable support for Intel SOCFPGA family" |
| 70 | depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10) |
| 71 | help |
| 72 | This enables the system reset driver support for Intel SOCFPGA SoCs |
| 73 | (Cyclone 5, Arria 5 and Arria 10). |
| 74 | |
Simon Goldschmidt | 690c129 | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 75 | config SYSRESET_SOCFPGA_S10 |
| 76 | bool "Enable support for Intel SOCFPGA Stratix 10" |
| 77 | depends on ARCH_SOCFPGA && TARGET_SOCFPGA_STRATIX10 |
| 78 | help |
| 79 | This enables the system reset driver support for Intel SOCFPGA |
| 80 | Stratix SoCs. |
| 81 | |
Andreas Dannenberg | 694b052 | 2018-08-27 15:57:46 +0530 | [diff] [blame] | 82 | config SYSRESET_TI_SCI |
| 83 | bool "TI System Control Interface (TI SCI) system reset driver" |
| 84 | depends on TI_SCI_PROTOCOL |
| 85 | help |
| 86 | This enables the system reset driver support over TI System Control |
| 87 | Interface available on some new TI's SoCs. |
| 88 | |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 89 | endif |
Álvaro Fernández Rojas | e388969 | 2017-04-25 00:39:14 +0200 | [diff] [blame] | 90 | |
| 91 | config SYSRESET_SYSCON |
| 92 | bool "Enable support for mfd syscon reboot driver" |
| 93 | select REGMAP |
| 94 | select SYSCON |
| 95 | help |
| 96 | Reboot support for generic SYSCON mapped register reset. |
| 97 | |
Álvaro Fernández Rojas | 17a0c14 | 2017-05-16 18:29:13 +0200 | [diff] [blame] | 98 | config SYSRESET_WATCHDOG |
| 99 | bool "Enable support for watchdog reboot driver" |
| 100 | select WDT |
| 101 | help |
| 102 | Reboot support for generic watchdog reset. |
| 103 | |
Bin Meng | fabb2b4 | 2018-07-03 02:48:40 -0700 | [diff] [blame] | 104 | config SYSRESET_X86 |
| 105 | bool "Enable support for x86 processor reboot driver" |
| 106 | depends on X86 |
| 107 | help |
| 108 | Reboot support for generic x86 processor reset. |
| 109 | |
Simon Glass | ff7abb8 | 2019-09-25 08:11:24 -0600 | [diff] [blame^] | 110 | config SYSRESET_SPL_X86 |
| 111 | bool "Enable support for x86 processor reboot driver in SPL" |
| 112 | depends on X86 |
| 113 | help |
| 114 | Reboot support for generic x86 processor reset in SPL. |
| 115 | |
| 116 | config SYSRESET_TPL_X86 |
| 117 | bool "Enable support for x86 processor reboot driver in TPL" |
| 118 | depends on X86 |
| 119 | help |
| 120 | Reboot support for generic x86 processor reset in TPL. |
| 121 | |
Mario Six | 76fdad1 | 2018-08-06 10:23:35 +0200 | [diff] [blame] | 122 | config SYSRESET_MCP83XX |
| 123 | bool "Enable support MPC83xx SoC family reboot driver" |
| 124 | help |
| 125 | Reboot support for NXP MPC83xx SoCs. |
| 126 | |
Max Filippov | b25732c | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 127 | endmenu |