All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: versatile: automatically pick a board in Kconfig
@ 2012-03-06 22:49 mathieu.poirier
  2012-03-06 23:02 ` Grant Likely
  2012-03-06 23:13 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: mathieu.poirier @ 2012-03-06 22:49 UTC (permalink / raw)
  To: linux; +Cc: linux-kernel, arnd, grant.likely

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-09 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 22:49 [PATCH] ARM: versatile: automatically pick a board in Kconfig mathieu.poirier
2012-03-06 23:02 ` Grant Likely
2012-03-06 23:13 ` Russell King - ARM Linux
2012-03-09 13:44   ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.