]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mvebu: add function to set the resume boot address for Armada 375
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Apr 2014 13:54:03 +0000 (15:54 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 24 Apr 2014 05:44:01 +0000 (05:44 +0000)
commitb8c53dc370b74003ecae43108efe89e7398516ad
tree79be54125fefeb5c73706b5e14209c9899b01198
parent7d370027af5f642286a3ee3ad53d872293cc48f1
ARM: mvebu: add function to set the resume boot address for Armada 375

In order to boot the secondary CPUs on Armada 375, we need to set the
boot address of these CPUs, through a register part of the System
Controller (this deviates from the Armada XP design, where the boot
address was defined using a register part of the PMSU unit).

Therefore, this commit adds a new helper function in the System
Controller driver to set the secondary CPU boot address.

Moreover, it moves the System Controller initialization as an
early_initcall(), since arch_initcall() is too late for an SMP-related
initialization.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-7-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-7-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/system-controller.c