]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: stm32mp1: add PSCI support
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 16 Apr 2018 08:13:24 +0000 (10:13 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 15:52:48 +0000 (11:52 -0400)
commit41c79775f08ad5836ae875cd21ea7ed952fa1237
treef68531256bb3989e9d20b7823c0eafb601327ff1
parent486daaa618e114333d13a90b6d7fb52d75baf0c5
arm: stm32mp1: add PSCI support

Add PSCI v1.0 support for Linux and manage PSCI state
for each CPU (affinity 0 level) with all mandatory functions:
- PSCI_VERSION
- CPU_SUSPEND
- CPU_OFF
- CPU_ON
- AFFINITY_INFO
- SYSTEM_OFF
- SYSTEM_RESET
- PSCI_FEATURES
and 1 optional to avoid Linux warning
- MIGRATE_INFO_TYPE

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/include/mach/stm32.h
arch/arm/mach-stm32mp/psci.c [new file with mode: 0644]
include/configs/stm32mp1.h