commit | 1f684b5a9740015252dd6103bd2ffe7af8606f64 | [log] [tgz] |
---|---|---|
author | Sam Edwards <cfsworks@gmail.com> | Wed Oct 11 19:47:54 2023 -0600 |
committer | Andre Przywara <andre.przywara@arm.com> | Sun Oct 22 23:41:52 2023 +0100 |
tree | 3d4b83f9e2ce9ef42ef3bc8043f49dfa410fcd15 | |
parent | cbb505c1865155bfdf55ba65189b3ce1b47b7f8f [diff] |
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: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>