Skip to content
Commit 333d66cf authored by Samuel Holland's avatar Samuel Holland Committed by Andre Przywara
Browse files

allwinner: Add functions to control CPU power/reset



sun50i_cpu_on will be used by the PSCI implementation to initialize
secondary cores for SMP. Unfortunately, sun50i_cpu_off is not usable by
PSCI directly, because it is not possible for a CPU to use this function
to power itself down. Power cannot be shut off until the outputs are
clamped, and MMIO does not work once the outputs are clamped.

But at least CPU0 can shutdown the other cores early in the BL31 boot
process and before shutting down the system.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
parent 64b3d9d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment