Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. if SYSRESET
  30. config SYSRESET_CMD_RESET
  31. bool "sysreset implementation of the reset command"
  32. default y
  33. help
  34. Enable sysreset implementation of the reset command.
  35. if CMD_POWEROFF
  36. config SYSRESET_CMD_POWEROFF
  37. bool "sysreset implementation of the poweroff command"
  38. help
  39. This should be selected by the appropriate PMIC driver if
  40. the poweroff command is enabled.
  41. endif
  42. config POWEROFF_GPIO
  43. bool "Enable support for GPIO poweroff driver"
  44. select DM_GPIO
  45. help
  46. Support for system poweroff using a GPIO pin. This can be used
  47. for systems having a single GPIO to trigger a system poweroff.
  48. config SYSRESET_GPIO
  49. bool "Enable support for GPIO reset driver"
  50. select DM_GPIO
  51. help
  52. Reset support via GPIO pin connected reset logic. This is used for
  53. example on Microblaze where reset logic can be controlled via GPIO
  54. pin which triggers cpu reset.
  55. config SYSRESET_MICROBLAZE
  56. bool "Enable support for Microblaze soft reset"
  57. depends on MICROBLAZE
  58. help
  59. This is soft reset on Microblaze which does jump to 0x0 address.
  60. config 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. config SYSRESET_PSCI
  67. bool "Enable support for PSCI System Reset"
  68. depends on ARM_PSCI_FW
  69. select SPL_ARM_PSCI_FW if SPL
  70. help
  71. Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
  72. must be running on your system.
  73. config SYSRESET_SBI
  74. bool "Enable support for SBI System Reset"
  75. depends on RISCV_SMODE && SBI_V02
  76. select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
  77. help
  78. Enable system reset and poweroff via the SBI system reset extension.
  79. The extension was introduced in version 0.3 of the SBI specification.
  80. If the SBI implementation provides the extension, is board specific.
  81. The RISC-V platform specification mandates the extension for rich
  82. operating system platforms.
  83. config SYSRESET_SOCFPGA
  84. bool "Enable support for Intel SOCFPGA family"
  85. depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
  86. help
  87. This enables the system reset driver support for Intel SOCFPGA SoCs
  88. (Cyclone 5, Arria 5 and Arria 10).
  89. config SYSRESET_SOCFPGA_SOC64
  90. bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
  91. depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64
  92. help
  93. This enables the system reset driver support for Intel SOCFPGA
  94. SoC64 SoCs.
  95. config SYSRESET_TI_SCI
  96. bool "TI System Control Interface (TI SCI) system reset driver"
  97. depends on TI_SCI_PROTOCOL
  98. help
  99. This enables the system reset driver support over TI System Control
  100. Interface available on some new TI's SoCs.
  101. endif
  102. config SYSRESET_SYSCON
  103. bool "Enable support for mfd syscon reboot driver"
  104. select REGMAP
  105. select SYSCON
  106. help
  107. Reboot support for generic SYSCON mapped register reset.
  108. config SYSRESET_WATCHDOG
  109. bool "Enable support for watchdog reboot driver"
  110. select WDT
  111. help
  112. Reboot support for generic watchdog reset.
  113. config SYSRESET_RESETCTL
  114. bool "Enable support for reset controller reboot driver"
  115. select DM_RESET
  116. help
  117. Reboot support using generic reset controller.
  118. config SYSRESET_X86
  119. bool "Enable support for x86 processor reboot driver"
  120. depends on X86
  121. help
  122. Reboot support for generic x86 processor reset.
  123. config 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. config SYSRESET_TPL_X86
  129. bool "Enable support for x86 processor reboot driver in TPL"
  130. depends on X86
  131. help
  132. Reboot support for generic x86 processor reset in TPL.
  133. config SYSRESET_MPC83XX
  134. bool "Enable support MPC83xx SoC family reboot driver"
  135. help
  136. Reboot support for NXP MPC83xx SoCs.
  137. endmenu