]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: mvebu: move Armada XP specific SMP initialization to platsmp.c
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 13:53:58 +0000 (15:53 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 8 May 2014 16:07:37 +0000 (16:07 +0000)
commit05ad690608098b469d6052c700d96c35e697a955
treebf9cccb0090608a1f75cff887183983c65cb5735
parentd269a36ae7002d96a5691cdef96b5bb6f41330f6
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>
arch/arm/mach-mvebu/common.h
arch/arm/mach-mvebu/platsmp.c
arch/arm/mach-mvebu/pmsu.c