diff options
| author | Icenowy Zheng <[email protected]> | 2020-08-01 02:56:45 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-05 08:18:34 -0400 |
| commit | 7f772fbcc04b8f70a70b79f869b03c2897ba0651 (patch) | |
| tree | 7edb9ce0a9de563d0e92635845fc18cc9554dea6 | |
| parent | 5ce2776ae63326807bc504fcfed24997c2a03bb2 (diff) | |
ARM: add Kconfig option for PSCI 0.1
We still have some platforms that only implements functionalities in
PSCI 0.1 (e.g. Allwinner ARMv7 SoCs).
Add a Kconfig option for exporting only PSCI 0.1. The code to export
PSCI 0.1 is still available and gets activated by this patch.
In addition, default ARCH_SUNXI U-Boot PSCI implementation to export
PSCI 0.1, to fix poweroff/reboot regression on Allwinner multi-core
ARMv7 SoCs.
Signed-off-by: Icenowy Zheng <[email protected]>
| -rw-r--r-- | arch/arm/cpu/armv7/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig index 8eee801dce9..60bb0a9e1ec 100644 --- a/arch/arm/cpu/armv7/Kconfig +++ b/arch/arm/cpu/armv7/Kconfig @@ -44,6 +44,7 @@ config ARMV7_PSCI choice prompt "Supported PSCI version" depends on ARMV7_PSCI + default ARMV7_PSCI_0_1 if ARCH_SUNXI default ARMV7_PSCI_1_0 help Select the supported PSCI version. @@ -53,6 +54,9 @@ config ARMV7_PSCI_1_0 config ARMV7_PSCI_0_2 bool "PSCI V0.2" + +config ARMV7_PSCI_0_1 + bool "PSCI V0.1" endchoice config ARMV7_PSCI_NR_CPUS |
