summaryrefslogtreecommitdiff
path: root/lib/psci
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-12 04:07:39 -0500
committerAndre Przywara <andre.przywara@arm.com>2018-06-15 11:45:24 +0100
commit333d66cf4e35f37f38135d15ef96ca2886b6f676 (patch)
treeed0450c8edc45babb402207034207c9fab390e42 /lib/psci
parent64b3d9d88e0c7030c90038518cd26567a923e6f7 (diff)
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: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'lib/psci')
0 files changed, 0 insertions, 0 deletions