summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/common.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-14 15:53:58 +0200
committerJason Cooper <jason@lakedaemon.net>2014-05-08 16:07:37 +0000
commit05ad690608098b469d6052c700d96c35e697a955 (patch)
treebf9cccb0090608a1f75cff887183983c65cb5735 /arch/arm/mach-mvebu/common.h
parentd269a36ae7002d96a5691cdef96b5bb6f41330f6 (diff)
downloadop-kernel-dev-05ad690608098b469d6052c700d96c35e697a955.zip
op-kernel-dev-05ad690608098b469d6052c700d96c35e697a955.tar.gz
ARM: mvebu: move Armada XP specific SMP initialization to platsmp.c
The pmsu.c driver contained an armada_xp_boot_cpu() function that sets the boot address of a secondary CPUs and deasserts the reset. However, the Armada 375 needs a slightly different logic, so it makes more sense to move this code into the Armada XP specific platsmp.c. In order to achieve this, the mvebu_pmsu_set_cpu_boot_addr() function is exported. It will be needed for both the Armada XP and Armada 38x SMP implementations. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1397483648-26611-2-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/common.h')
-rw-r--r--arch/arm/mach-mvebu/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/common.h b/arch/arm/mach-mvebu/common.h
index cfb129b..2b88eb0 100644
--- a/arch/arm/mach-mvebu/common.h
+++ b/arch/arm/mach-mvebu/common.h
@@ -19,6 +19,7 @@
void mvebu_restart(enum reboot_mode mode, const char *cmd);
int mvebu_cpu_reset_deassert(int cpu);
+void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
void armada_xp_cpu_die(unsigned int cpu);
OpenPOWER on IntegriCloud