stm32mp1: add command poweroff
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 09:55:46 +0000 (11:55 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
commitc16cc4f689060f4ef06382b6408b86619f5efb7a
tree019ef499dac47093c1cf1f4209f5806eac4cd1b4
parent8811583e0413c8c00116e87113c359bdc4b582b4
stm32mp1: add command poweroff

Activate the command poweroff by default for STM32MP1:
- with PCSI from TF-A for trusted boot
- with PMIC sysreset request for basic boot (SYSRESET_POWER)

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/Kconfig
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/cmd_poweroff.c [new file with mode: 0644]