linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] ARM: msm: Simplify ARCH_MSM_DT config
Date: Fri, 18 Oct 2013 10:56:43 -0700	[thread overview]
Message-ID: <1382119006-22231-2-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1382119006-22231-1-git-send-email-sboyd@codeaurora.org>

This doesn't need to be a def_bool y. Instead we can have every
DT supported platform select ARCH_MSM_DT and we achieve the same
thing with less chance of conflicts.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/arm/mach-msm/Kconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 5e5782d..702553b 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -44,6 +44,7 @@ endchoice
 
 config ARCH_MSM8X60
 	bool "MSM8X60"
+	select ARCH_MSM_DT
 	select ARM_GIC
 	select CPU_V7
 	select GPIO_MSM_V2
@@ -52,6 +53,7 @@ config ARCH_MSM8X60
 
 config ARCH_MSM8960
 	bool "MSM8960"
+	select ARCH_MSM_DT
 	select ARM_GIC
 	select CPU_V7
 	select HAVE_SMP
@@ -60,6 +62,7 @@ config ARCH_MSM8960
 
 config ARCH_MSM8974
 	bool "MSM8974"
+	select ARCH_MSM_DT
 	select ARM_GIC
 	select CPU_V7
 	select HAVE_ARM_ARCH_TIMER
@@ -68,8 +71,7 @@ config ARCH_MSM8974
 	select USE_OF
 
 config ARCH_MSM_DT
-	def_bool y
-	depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
+	bool
 	select SPARSE_IRQ
 	select USE_OF
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

  reply	other threads:[~2013-10-18 17:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 18:25 [PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard Rohit Vaswani
2013-10-17 18:28 ` Kumar Gala
2013-10-17 20:51 ` David Brown
2013-10-17 21:31 ` [PATCH 0/3] APQ8074 updates Stephen Boyd
2013-10-17 21:31   ` [PATCH 1/3] ARM: msm: Simplify ARCH_MSM_DT config Stephen Boyd
2013-10-17 21:31   ` [PATCH 2/3] ARM: dts: MSM8974: Add restart node Stephen Boyd
2013-10-17 21:31   ` [PATCH 3/3] ARM: dts: MSM8974: Add MMIO architected timer node Stephen Boyd
2013-10-18 17:56 ` [PATCH v2 0/4] APQ8074 updates Stephen Boyd
2013-10-18 17:56   ` Stephen Boyd [this message]
2013-10-18 17:56   ` [PATCH v2 2/4] ARM: dts: MSM8974: Add restart node Stephen Boyd
2013-10-18 17:56   ` [PATCH v2 3/4] ARM: dts: MSM8974: Add MMIO architected timer node Stephen Boyd
2013-10-18 17:56   ` [PATCH v2 4/4] ARM: msm_defconfig: Enable restart driver Stephen Boyd
2013-10-25 17:12 ` [PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard Josh Cartwright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1382119006-22231-2-git-send-email-sboyd@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).