commit | 3f31c6f1039b117d0276fe047c1383d17ac1ac84 | [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 | f9670d7b0b7f2d2205fdf10f11f35e327cd43033 [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>