mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mathieu.poirier@linaro.org
To: linux@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, grant.likely@secretlab.ca
Subject: [PATCH] ARM: versatile: automatically pick a board in Kconfig
Date: Tue,  6 Mar 2012 15:49:22 -0700	[thread overview]
Message-ID: <1331074162-18147-1-git-send-email-mathieu.poirier@linaro.org> (raw)

From: Arnd Bergmann <arnd@arndb.de>

The versatile platform supports building any combination of the
three board types (AB, PB, DT), but at least one of them has
to be enabled. This adds the necessary Kconfig statement to
enforce that at least one of the three is selected.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
 arch/arm/mach-versatile/Kconfig |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
index c1f38f6..31da352 100644
--- a/arch/arm/mach-versatile/Kconfig
+++ b/arch/arm/mach-versatile/Kconfig
@@ -25,4 +25,10 @@ config MACH_VERSATILE_DT
 	  Include support for the ARM(R) Versatile/PB platform,
 	  using the device tree for discovery
 
+config MACH_VERSATILE_AUTO
+	def_bool y
+	depends on !ARCH_VERSATILE_PB
+	depends on !MACH_VERSATILE_AB
+	select MACH_VERSATILE_DT
+
 endmenu
-- 
1.7.5.4


             reply	other threads:[~2012-03-06 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 22:49 mathieu.poirier [this message]
2012-03-06 23:02 ` Grant Likely
2012-03-06 23:13 ` Russell King - ARM Linux
2012-03-09 13:44   ` Arnd Bergmann

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=1331074162-18147-1-git-send-email-mathieu.poirier@linaro.org \
    --to=mathieu.poirier@linaro.org \
    --cc=arnd@arndb.de \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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

all inboxes | Powered by JetHome®