From: Gregory CLEMENT Date: Mon, 14 Apr 2014 13:54:03 +0000 (+0200) Subject: ARM: mvebu: add function to set the resume boot address for Armada 375 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~52^2~16^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00504be42add413614bdaa943612787d6fd297f5;p=pandora-kernel.git 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 Link: https://lkml.kernel.org/r/1397483648-26611-7-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1397483648-26611-7-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper --- Reading git-diff-tree failed