summaryrefslogtreecommitdiff
path: root/arch/arm/mach-berlin/Kconfig
diff options
context:
space:
mode:
authorAntoine Ténart <antoine.tenart@free-electrons.com>2014-06-04 20:03:42 +0400
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2014-06-16 15:16:44 +0400
commit7b7dfdd2b9927c1861bb6d03ca35261f1739aceb (patch)
treecb1da3b1522e0c493c3dba207e731ac8e2e4a6a6 /arch/arm/mach-berlin/Kconfig
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-7b7dfdd2b9927c1861bb6d03ca35261f1739aceb.tar.xz
ARM: berlin: add SMP support
Adds SMP support for Berlin SoCs. Secondary CPUs are reset, then execute the instruction we put in the reset exception register, setting the pc at the address contained in the software reset address register, which is the physical address of the Berlin secondary startup. This implementation avoid using the pen lock mechanism. Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Diffstat (limited to 'arch/arm/mach-berlin/Kconfig')
-rw-r--r--arch/arm/mach-berlin/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig
index 101e0f356730..ba5b6ce97b0a 100644
--- a/arch/arm/mach-berlin/Kconfig
+++ b/arch/arm/mach-berlin/Kconfig
@@ -15,7 +15,9 @@ config MACH_BERLIN_BG2
bool "Marvell Armada 1500 (BG2)"
select CACHE_L2X0
select CPU_PJ4B
+ select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
+ select HAVE_SMP
select PINCTRL_BERLIN_BG2
config MACH_BERLIN_BG2CD
@@ -27,6 +29,7 @@ config MACH_BERLIN_BG2CD
config MACH_BERLIN_BG2Q
bool "Marvell Armada 1500 Pro (BG2-Q)"
select CACHE_L2X0
+ select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
select PINCTRL_BERLIN_BG2Q