aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-02-27 18:28:14 -0500
committerArnd Bergmann <arnd@arndb.de>2013-04-09 15:30:24 -0400
commit4c3ffffdbca2e6f6f5125fa7b149d87a13f92c94 (patch)
tree6adfdd5e314ca187fc394147fa5e25cc54d9bccd /arch/arm/Kconfig
parent494cc7606180bbf0bd7c82afeaacc45d5035d7cc (diff)
ARM: Push selects for TWD/SCU into machine entries
The TWD and SCU configs are selected by default as long as MSM_SCORPIONMP is false and/or MCT is false. Implementing the logic this way certainly saves lines in the Kconfig but it precludes those machines which select MSM_SCORPIONMP or MCT from participating in the single zImage effort because when those machines are combined with other SMP capable machines the TWD and SCU are no longer selected by default. Push the select out to the machine entries so that we can compile these machines together and still select the appropriate configs. Cc: Barry Song <baohua.song@csr.com> Acked-by: David Brown <davidb@codeaurora.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: Linus Walleij <linus.walleij@linaro.org> Acked-by: Pawel Moll <pawel.moll@arm.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Shiraz Hashim <shiraz.hashim@st.com> Acked-by: Simon Horman <horms@verge.net.au> Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Viresh Kumar <viresh.linux@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3a6333e66b41..88b662d4618d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -637,6 +637,8 @@ config ARCH_SHMOBILE
637 bool "Renesas SH-Mobile / R-Mobile" 637 bool "Renesas SH-Mobile / R-Mobile"
638 select CLKDEV_LOOKUP 638 select CLKDEV_LOOKUP
639 select GENERIC_CLOCKEVENTS 639 select GENERIC_CLOCKEVENTS
640 select HAVE_ARM_SCU if SMP
641 select HAVE_ARM_TWD if LOCAL_TIMERS
640 select HAVE_CLK 642 select HAVE_CLK
641 select HAVE_MACH_CLKDEV 643 select HAVE_MACH_CLKDEV
642 select HAVE_SMP 644 select HAVE_SMP
@@ -1400,7 +1402,6 @@ config SMP
1400 depends on GENERIC_CLOCKEVENTS 1402 depends on GENERIC_CLOCKEVENTS
1401 depends on HAVE_SMP 1403 depends on HAVE_SMP
1402 depends on MMU 1404 depends on MMU
1403 select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
1404 select USE_GENERIC_SMP_HELPERS 1405 select USE_GENERIC_SMP_HELPERS
1405 help 1406 help
1406 This enables support for systems with more than one CPU. If you have 1407 This enables support for systems with more than one CPU. If you have
@@ -1525,7 +1526,6 @@ config LOCAL_TIMERS
1525 bool "Use local timer interrupts" 1526 bool "Use local timer interrupts"
1526 depends on SMP 1527 depends on SMP
1527 default y 1528 default y
1528 select HAVE_ARM_TWD if (!ARCH_MSM_SCORPIONMP && !EXYNOS4_MCT)
1529 help 1529 help
1530 Enable support for local timers on SMP platforms, rather then the 1530 Enable support for local timers on SMP platforms, rather then the
1531 legacy IPI broadcast method. Local timers allows the system 1531 legacy IPI broadcast method. Local timers allows the system