ARM: add Kconfig option for PSCI 0.1
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 31 Jul 2020 18:56:45 +0000 (02:56 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 5 Aug 2020 12:18:34 +0000 (08:18 -0400)
commit7f772fbcc04b8f70a70b79f869b03c2897ba0651
tree7edb9ce0a9de563d0e92635845fc18cc9554dea6
parent5ce2776ae63326807bc504fcfed24997c2a03bb2
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 <icenowy@aosc.io>
arch/arm/cpu/armv7/Kconfig