sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass
[oweals/u-boot.git] / drivers / sysreset / Kconfig
index 90c41ab44d7e864e42c364aafd48600b23b593ed..f565ae031095c3d40f95675acafc357320b243f3 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