Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. #
  2. # System reset devices
  3. #
  4. menu "System reset device drivers"
  5. config SYSRESET
  6. bool "Enable support for system reset drivers"
  7. depends on DM
  8. help
  9. Enable system reset drivers which can be used to reset the CPU or
  10. board. Each driver can provide a reset method which will be called
  11. to effect a reset. The uclass will try all available drivers when
  12. reset_walk() is called.
  13. config SPL_SYSRESET
  14. bool "Enable support for system reset drivers in SPL mode"
  15. depends on SYSRESET && SPL_DM
  16. help
  17. Enable system reset drivers which can be used to reset the CPU or
  18. board. Each driver can provide a reset method which will be called
  19. to effect a reset. The uclass will try all available drivers when
  20. reset_walk() is called.
  21. config TPL_SYSRESET
  22. bool "Enable support for system reset drivers in TPL mode"
  23. depends on SYSRESET && TPL_DM
  24. help
  25. Enable system reset drivers which can be used to reset the CPU or
  26. board. Each driver can provide a reset method which will be called
  27. to effect a reset. The uclass will try all available drivers when
  28. reset_walk() is called.
  29. config VPL_SYSRESET
  30. bool "Enable support for system reset drivers in VPL mode"
  31. depends on SYSRESET && VPL_DM
  32. default y if TPL_SYSRESET
  33. help
  34. Enable system reset drivers which can be used to reset the CPU or
  35. board. Each driver can provide a reset method which will be called
  36. to effect a reset. The uclass will try all available drivers when
  37. reset_walk() is called.
  38. if SYSRESET
  39. config SYSRESET_CMD_RESET
  40. bool "sysreset implementation of the reset command"
  41. default y
  42. help
  43. Enable sysreset implementation of the reset command.
  44. if CMD_POWEROFF
  45. config SYSRESET_CMD_POWEROFF
  46. bool "sysreset implementation of the poweroff command"
  47. help
  48. This should be selected by the appropriate PMIC driver if
  49. the poweroff command is enabled.
  50. endif
  51. config POWEROFF_GPIO
  52. bool "Enable support for GPIO poweroff driver"
  53. depends on DM_GPIO
  54. help
  55. Support for system poweroff using a GPIO pin. This can be used
  56. for systems having a single GPIO to trigger a system poweroff.
  57. config SYSRESET_GPIO
  58. bool "Enable support for GPIO reset driver"
  59. depends on DM_GPIO
  60. help
  61. Reset support via GPIO pin connected reset logic. This is used for
  62. example on Microblaze where reset logic can be controlled via GPIO
  63. pin which triggers cpu reset.
  64. config SYSRESET_MICROBLAZE
  65. bool "Enable support for Microblaze soft reset"
  66. depends on MICROBLAZE
  67. help
  68. This is soft reset on Microblaze which does jump to 0x0 address.
  69. config SYSRESET_OCTEON
  70. bool "Enable support for Marvell Octeon SoC family"
  71. depends on ARCH_OCTEON
  72. help
  73. This enables the system reset driver support for Marvell Octeon
  74. SoCs.
  75. config SYSRESET_AT91
  76. bool "Enable support for Microchip/Atmel reset driver"
  77. depends on ARCH_AT91
  78. select SYSRESET_SPL_AT91 if SPL && SPL_SYSRESET
  79. help
  80. This enables the system reset driver support for Microchip/Atmel
  81. SoCs.
  82. config SYSRESET_SPL_AT91
  83. bool "Enable support for Microchip/Atmel reset driver in SPL"
  84. depends on ARCH_AT91
  85. help
  86. This enables the system reset driver support for Microchip/Atmel
  87. SoCs in SPL.
  88. config SYSRESET_PSCI
  89. bool "Enable support for PSCI System Reset"
  90. depends on ARM_PSCI_FW
  91. select SPL_ARM_PSCI_FW if SPL
  92. help
  93. Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
  94. must be running on your system.
  95. config SYSRESET_SBI
  96. bool "Enable support for SBI System Reset"
  97. depends on RISCV_SMODE && SBI_V02
  98. default y
  99. select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
  100. help
  101. Enable system reset and poweroff via the SBI system reset extension.
  102. The extension was introduced in version 0.3 of the SBI specification.
  103. If the SBI implementation provides the extension, is board specific.
  104. The RISC-V platform specification mandates the extension for rich
  105. operating system platforms.
  106. config SYSRESET_SOCFPGA
  107. bool "Enable support for Intel SOCFPGA family"
  108. depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
  109. help
  110. This enables the system reset driver support for Intel SOCFPGA SoCs
  111. (Cyclone 5, Arria 5 and Arria 10).
  112. config SYSRESET_SOCFPGA_SOC64
  113. bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
  114. depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64
  115. help
  116. This enables the system reset driver support for Intel SOCFPGA
  117. SoC64 SoCs.
  118. config SYSRESET_TI_SCI
  119. bool "TI System Control Interface (TI SCI) system reset driver"
  120. depends on TI_SCI_PROTOCOL
  121. help
  122. This enables the system reset driver support over TI System Control
  123. Interface available on some new TI's SoCs.
  124. config SYSRESET_SYSCON
  125. bool "Enable support for mfd syscon reboot driver"
  126. select REGMAP
  127. select SYSCON
  128. help
  129. Reboot support for generic SYSCON mapped register reset.
  130. config SYSRESET_WATCHDOG
  131. bool "Enable support for watchdog reboot driver"
  132. select WDT
  133. help
  134. Reboot support for generic watchdog reset.
  135. config SYSRESET_WATCHDOG_AUTO
  136. bool "Automatically register first watchdog with sysreset"
  137. depends on SYSRESET_WATCHDOG
  138. help
  139. If enabled, the first watchdog (as selected by the watchdog uclass)
  140. will automatically be registered with the watchdog reboot driver.
  141. config SYSRESET_RESETCTL
  142. bool "Enable support for reset controller reboot driver"
  143. select DM_RESET
  144. help
  145. Reboot support using generic reset controller.
  146. config SYSRESET_X86
  147. bool "Enable support for x86 processor reboot driver"
  148. depends on X86
  149. help
  150. Reboot support for generic x86 processor reset.
  151. config SYSRESET_SPL_X86
  152. bool "Enable support for x86 processor reboot driver in SPL"
  153. depends on X86
  154. help
  155. Reboot support for generic x86 processor reset in SPL.
  156. config SYSRESET_TPL_X86
  157. bool "Enable support for x86 processor reboot driver in TPL"
  158. depends on X86
  159. help
  160. Reboot support for generic x86 processor reset in TPL.
  161. config SYSRESET_MPC83XX
  162. bool "Enable support MPC83xx SoC family reboot driver"
  163. help
  164. Reboot support for NXP MPC83xx SoCs.
  165. endif
  166. endmenu