Skip to content
Commit 3f31c6f1 authored by Sam Edwards's avatar Sam Edwards Committed by Andre Przywara
Browse files

sunxi: psci: refactor register access to separate functions



This is to prepare for R528, which does not have the typical
"CPUCFG" block; it has a "CPUX" block which provides these
same functions but is organized differently.

Moving the hardware-access bits to their own functions separates the
logic from the hardware so we can reuse the same logic.

Signed-off-by: default avatarSam Edwards <CFSworks@gmail.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent f9670d7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment