summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorUrja Rannikko <urjaman@gmail.com>2019-05-17 00:48:42 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-08-19 07:43:26 +0300
commitb8050511c6ee4ab60ef4248dff42aff187696249 (patch)
tree01e451f3b985b4b14b79c4b45b94b26845eb3dc9 /arch/Kconfig
parent857f39d7b09804566b23e0f20fcb04601f2ecb52 (diff)
downloadu-boot-b8050511c6ee4ab60ef4248dff42aff187696249.tar.xz
sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass
This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF to signal when we need it. Enable it from the STPMIC1 config and in sandbox. The config flag is transitionary, that is it can be removed after all poweroff implementations use sysreset, and just have CMD_POWEROFF depend on sysreset. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 949eb28dfa..e510e971b4 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -93,6 +93,7 @@ config SANDBOX
select PCI_ENDPOINT
select SPI
select SUPPORT_OF_CONTROL
+ select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
imply BITREVERSE
select BLOBLIST
imply CMD_DM