]> git.baikalelectronics.ru Git - kernel.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)
commita965e84813eb6cb0285f6e51930161d7f706ea10
treebf9cccb0090608a1f75cff887183983c65cb5735
parentac682391c5d58c0a5d4c5fabcf1465b089af7f89
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