Home
last modified time | relevance | path

Searched hist:"9227719 dbf4d2da4163cebc740e1b6e582b8e05f" (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/plat/allwinner/common/
H A Dsunxi_cpu_ops.c9227719dbf4d2da4163cebc740e1b6e582b8e05f Sun Feb 14 23:56:04 UTC 2021 Andre Przywara <andre.przywara@arm.com> allwinner: Move sunxi_cpu_power_off_self() into platforms

The code to power the current core off when SCPI is not available is now
different for the two supported SoC families.
To make adding new platforms easier, move sunxi_cpu_power_off_self()
into the SoC directory, so we don't need to carry definitions for both
methods for all SoCs.

On the H6 we just need to trigger the CPUIDLE hardware, so can get rid
of all the code to program the ARISC, which is now only needed for the
A64 version.

Change-Id: Id2a1ac7dcb375e2fd021b441575ce86b4d7edf2c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
H A Dsunxi_common.c9227719dbf4d2da4163cebc740e1b6e582b8e05f Sun Feb 14 23:56:04 UTC 2021 Andre Przywara <andre.przywara@arm.com> allwinner: Move sunxi_cpu_power_off_self() into platforms

The code to power the current core off when SCPI is not available is now
different for the two supported SoC families.
To make adding new platforms easier, move sunxi_cpu_power_off_self()
into the SoC directory, so we don't need to carry definitions for both
methods for all SoCs.

On the H6 we just need to trigger the CPUIDLE hardware, so can get rid
of all the code to program the ARISC, which is now only needed for the
A64 version.

Change-Id: Id2a1ac7dcb375e2fd021b441575ce86b4d7edf2c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/plat/allwinner/sun50i_h6/
H A Dsunxi_power.c9227719dbf4d2da4163cebc740e1b6e582b8e05f Sun Feb 14 23:56:04 UTC 2021 Andre Przywara <andre.przywara@arm.com> allwinner: Move sunxi_cpu_power_off_self() into platforms

The code to power the current core off when SCPI is not available is now
different for the two supported SoC families.
To make adding new platforms easier, move sunxi_cpu_power_off_self()
into the SoC directory, so we don't need to carry definitions for both
methods for all SoCs.

On the H6 we just need to trigger the CPUIDLE hardware, so can get rid
of all the code to program the ARISC, which is now only needed for the
A64 version.

Change-Id: Id2a1ac7dcb375e2fd021b441575ce86b4d7edf2c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/plat/allwinner/sun50i_a64/
H A Dsunxi_power.c9227719dbf4d2da4163cebc740e1b6e582b8e05f Sun Feb 14 23:56:04 UTC 2021 Andre Przywara <andre.przywara@arm.com> allwinner: Move sunxi_cpu_power_off_self() into platforms

The code to power the current core off when SCPI is not available is now
different for the two supported SoC families.
To make adding new platforms easier, move sunxi_cpu_power_off_self()
into the SoC directory, so we don't need to carry definitions for both
methods for all SoCs.

On the H6 we just need to trigger the CPUIDLE hardware, so can get rid
of all the code to program the ARISC, which is now only needed for the
A64 version.

Change-Id: Id2a1ac7dcb375e2fd021b441575ce86b4d7edf2c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>