]> git.karo-electronics.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, 24 Apr 2014 05:42:39 +0000 (05:42 +0000)
commitd2a1b375de9c65585b8abbc014427988131c2a58
treebf9cccb0090608a1f75cff887183983c65cb5735
parent169f4223fbb12146e1493ddff05462e7c78ba608
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