summaryrefslogtreecommitdiff
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2012-02-03 11:00:50 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:09:52 -0700
commit5d41256260ae2fdfbebbcabb906246bc23e899bd (patch)
tree3a2223edf510134ab4b775a18193e77856529209 /arch/arm/Kconfig
parentbc5f001c39280e26da7984f084f5546b531f25e0 (diff)
ARM: tegra: smp: Add support for Cortex-A15 boot_secondary
Cortex-A15 does not have a memory-mapped SCU in the PERIPHBASE aperture. Instead, the number of CPUs present is obtained from the architectural L2 Cache Control (L2CTLR) register. Enable HAVE_ARM_SCU only on platforms that have a memory-mapped SCU and add the necessary conditionals to prevent access to the memory-mapped SCU address range on platforms that don't. Change-Id: I4027d034fe79339fab0030a44780240785206cba Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/79341 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mark Stadler <mastadler@nvidia.com> Reviewed-by: Jeff Smith <jsmith@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Rebase-Id: R62dcd56e7abed8ef5cef60325c6ca52fbfb43b22
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d6d562ec2e25..b1f81aec3be4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1481,7 +1481,8 @@ config SMP
depends on GENERIC_CLOCKEVENTS
depends on HAVE_SMP
depends on MMU
- select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
+ select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP && \
+ (!ARCH_TEGRA || ARCH_TEGRA_HAS_ARM_SCU)
select USE_GENERIC_SMP_HELPERS
help
This enables support for systems with more than one CPU. If you have