Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[oweals/u-boot.git] / drivers / sysreset / Kconfig
index 90c41ab44d7e864e42c364aafd48600b23b593ed..4be7433404701d9943c50f202b43a593e330489d 100644 (file)
@@ -33,6 +33,16 @@ config TPL_SYSRESET
 
 if SYSRESET
 
+if CMD_POWEROFF
+
+config SYSRESET_CMD_POWEROFF
+       bool "sysreset implementation of the poweroff command"
+       help
+         This should be selected by the appropriate PMIC driver if
+         the poweroff command is enabled.
+
+endif
+
 config SYSRESET_GPIO
        bool "Enable support for GPIO reset driver"
        select DM_GPIO
@@ -91,13 +101,31 @@ config SYSRESET_WATCHDOG
        help
          Reboot support for generic watchdog reset.
 
+config SYSRESET_RESETCTL
+       bool "Enable support for reset controller reboot driver"
+       select DM_RESET
+       help
+         Reboot support using generic reset controller.
+
 config SYSRESET_X86
        bool "Enable support for x86 processor reboot driver"
        depends on X86
        help
          Reboot support for generic x86 processor reset.
 
-config SYSRESET_MCP83XX
+config SYSRESET_SPL_X86
+       bool "Enable support for x86 processor reboot driver in SPL"
+       depends on X86
+       help
+         Reboot support for generic x86 processor reset in SPL.
+
+config SYSRESET_TPL_X86
+       bool "Enable support for x86 processor reboot driver in TPL"
+       depends on X86
+       help
+         Reboot support for generic x86 processor reset in TPL.
+
+config SYSRESET_MPC83XX
        bool "Enable support MPC83xx SoC family reboot driver"
        help
          Reboot support for NXP MPC83xx SoCs.