diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-09-17 18:45:19 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-10-29 08:29:21 -0700 |
commit | 0606326effc66201223de26d71c2779a108ee452 (patch) | |
tree | 758c4d35d76033364b7bf688ef36a79e04e7f0f3 /tools/thermal | |
parent | 9c52aaf756ecaec195517e17875b136eb4d176bf (diff) | |
download | kernel_replicant_linux-0606326effc66201223de26d71c2779a108ee452.tar.gz kernel_replicant_linux-0606326effc66201223de26d71c2779a108ee452.tar.bz2 kernel_replicant_linux-0606326effc66201223de26d71c2779a108ee452.zip |
ARM: smp_scu: add a helper for powering on a specific CPU
To boot the secondary CPUs on the Amlogic Meson8/Meson8m2 (Cortex-A9)
and Meson8b (Cortex-A5) SoCs we have to enable SCU mode SCU_PM_NORMAL,
otherwise the secondary cores will not start.
This patch adds a scu_cpu_power_enable() function which can be used to
enable SCU_PM_NORMAL for a specific (logical) CPU. An internal helper
function is also created, to avoid code duplication with
scu_power_mode().
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions