linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: nommu: re-enable use of vexpress without ARCH_MULTIPLATFORM
@ 2013-01-09 18:15 Jonathan Austin
  2013-01-09 18:30 ` Nicolas Pitre
  2013-01-09 18:43 ` [PATCH] " Arnd Bergmann
  0 siblings, 2 replies; 18+ messages in thread
From: Jonathan Austin @ 2013-01-09 18:15 UTC (permalink / raw)
  To: linux-arm-kernel

From: Will Deacon <will.deacon@arm.com>

Since 617276307cd4c ("ARM: vexpress: convert to multi-platform") it has
been impossible to select ARCH_VEXPRESS without ARCH_MULTIPLATFORM.

ARCH_MULTIPLATFORM doesn't make sense for NOMMU targets, not least
because of the need to hard-code the memory map. However, it should
still be possible to run NOMMU kernels on top of the Versatile Express
by selecting it as the only platform.

This patch creates a shim ARCH_VEXPRESS_NOMMU config option in the 'choice'
for "ARM system type" to make this possible again.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
CC: Nicolas Pitre <nico@fluxnic.net>
CC: Arnd Bergmann <arnd@arndb.de>
---

Arnd and Nicolas: I've removed your acks as I've changed the location
of the new block (as Nicolas suggested) and ever so slightly tweaked
the name of the new option.

 arch/arm/Kconfig |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 335e220..3357d0b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -322,6 +322,11 @@ config ARCH_VERSATILE
 	help
 	  This enables support for ARM Ltd Versatile board.
 
+config ARCH_VEXPRESS_NOMMU
+	bool "ARM Ltd. Versatile Express family for NOMMU"
+	depends on !MMU
+	select ARCH_VEXPRESS
+
 config ARCH_AT91
 	bool "Atmel AT91"
 	select ARCH_REQUIRE_GPIOLIB
-- 
1.7.9.5

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

end of thread, other threads:[~2013-01-10 13:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 18:15 [PATCH] ARM: nommu: re-enable use of vexpress without ARCH_MULTIPLATFORM Jonathan Austin
2013-01-09 18:30 ` Nicolas Pitre
2013-01-09 18:41   ` Will Deacon
2013-01-09 19:17     ` [PATCH v2] " Jonathan Austin
2013-01-09 18:43 ` [PATCH] " Arnd Bergmann
2013-01-09 18:54   ` Nicolas Pitre
2013-01-09 20:22     ` Arnd Bergmann
2013-01-09 20:39       ` Rob Herring
2013-01-09 20:48         ` Russell King - ARM Linux
2013-01-10  3:51           ` Rob Herring
2013-01-10 10:16             ` Arnd Bergmann
2013-01-10 13:20               ` Christopher Covington
2013-01-10 13:45                 ` Marc Zyngier
2013-01-09 21:09         ` Nicolas Pitre
2013-01-09 21:00       ` Nicolas Pitre
2013-01-09 21:15         ` Arnd Bergmann
2013-01-09 21:37           ` Nicolas Pitre
2013-01-09 22:14             ` Arnd Bergmann

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).