arm-trusted-firmware/plat/allwinner
Samuel Holland a1d349beb0 allwinner: Separate code to power off self and other CPUs
Currently, sunxi_cpu_off() has two separate code paths: one for the
local CPU, and one for other CPUs. Let's split them in to two functions.
This actually simplifies things, because all callers either operate on
the local CPU only (sunxi_pwr_down_wfi()) or other CPUs only
(sunxi_cpu_power_off_others()). This avoids needing a second MPIDR read
to choose the appropriate code path.

Change-Id: I55de85025235cc95466bfa106831fc4c2368f527
Signed-off-by: Samuel Holland <samuel@sholland.org>
2021-01-24 17:17:01 -06:00
..
common allwinner: Separate code to power off self and other CPUs 2021-01-24 17:17:01 -06:00
sun50i_a64 Merge changes I3703868b,Ie77476db into integration 2020-12-22 15:51:24 +00:00
sun50i_h6 Merge changes I3703868b,Ie77476db into integration 2020-12-22 15:51:24 +00:00