diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-04-16 10:13:24 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 11:52:48 -0400 |
commit | 41c79775f08ad5836ae875cd21ea7ed952fa1237 (patch) | |
tree | f68531256bb3989e9d20b7823c0eafb601327ff1 /arch/arm/mach-stm32mp/Kconfig | |
parent | 486daaa618e114333d13a90b6d7fb52d75baf0c5 (diff) | |
download | u-boot-41c79775f08ad5836ae875cd21ea7ed952fa1237.tar.gz u-boot-41c79775f08ad5836ae875cd21ea7ed952fa1237.tar.xz u-boot-41c79775f08ad5836ae875cd21ea7ed952fa1237.zip |
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/Kconfig')
-rw-r--r-- | arch/arm/mach-stm32mp/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index 4d59480c19..6e9b508826 100644 --- a/arch/arm/mach-stm32mp/Kconfig +++ b/arch/arm/mach-stm32mp/Kconfig @@ -24,7 +24,10 @@ config SYS_SOC config TARGET_STM32MP1 bool "Support stm32mp1xx" + select ARCH_SUPPORT_PSCI select CPU_V7 + select CPU_V7_HAS_NONSEC + select CPU_V7_HAS_VIRT select PINCTRL_STM32 select STM32_RESET select SYS_ARCH_TIMER |