Skip to content
Commit b8050511 authored by Urja Rannikko's avatar Urja Rannikko Committed by Kever Yang
Browse files

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: default avatarUrja Rannikko <urjaman@gmail.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Tested-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 857f39d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment