diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-04-21 07:18:27 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-05-13 09:24:13 -0700 |
commit | b0206e7d26ebb695421c7c093b13475bed92c54d (patch) | |
tree | 601828d17ed51324bea38726b1a6ae5a0e40b4eb /arch/arm/mach-socfpga/include/mach/timer.h | |
parent | 680f396851b7153f7f4243e1cc8875558b678add (diff) | |
download | blackbird-obmc-uboot-b0206e7d26ebb695421c7c093b13475bed92c54d.tar.gz blackbird-obmc-uboot-b0206e7d26ebb695421c7c093b13475bed92c54d.zip |
ARM: Factor out reusable psci_cpu_off_common
Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely
cache disabling and flushing, clrex and the disabling of SMP for the
dying CPU. These steps are apparently generic for ARMv7 and will be
reused for Tegra124 support.
As the way of disabled SMP is not architectural, though commonly done
via ACLTR, the related function can be overloaded.
CC: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/timer.h')
0 files changed, 0 insertions, 0 deletions