public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Daniel Palmer <danieruru@gmail.com>
To: linux-m68k@lists.linux-m68k.org
Cc: Daniel Palmer <danieruru@gmail.com>
Subject: [PATCH 2/2] m68k: Only allow for one member of the DragonBall family to be       selected in Kconfig. The support code for these chips       doesn't currently handle support for multiple family       members to be supported in a single kernel image.
Date: Sat,  5 Apr 2014 14:39:58 +0900	[thread overview]
Message-ID: <1396676398-31175-2-git-send-email-danieruru@gmail.com> (raw)
In-Reply-To: <1396676398-31175-1-git-send-email-danieruru@gmail.com>

Signed-off-by: Daniel Palmer <danieruru@gmail.com>
---
 arch/m68k/Kconfig.cpu | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index 33013df..1ca7cbe 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -93,27 +93,29 @@ config M68060
 	  If you anticipate running this kernel on a computer with a MC68060
 	  processor, say Y. Otherwise, say N.
 
+choice
+	prompt "DragonBall SoC family support"
+	depends on M68000
+	help
+	  Select which member of the DragonBall SoC family to support.
+
 config M68328
 	bool "MC68328"
-	depends on !MMU
-	select M68000
 	help
 	  Motorola 68328 processor support.
 
 config M68EZ328
 	bool "MC68EZ328"
-	depends on !MMU
-	select M68000
 	help
-	  Motorola 68EX328 processor support.
+	  Motorola 68EZ328 processor support.
 
 config M68VZ328
 	bool "MC68VZ328"
-	depends on !MMU
-	select M68000
 	help
 	  Motorola 68VZ328 processor support.
 
+endchoice
+
 config M68360
 	bool "MC68360"
 	depends on !MMU
-- 
1.9.1

  reply	other threads:[~2014-04-05  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-05  5:39 [PATCH 1/2] m68k: fix some compiler warnings when building for DragonBall Daniel Palmer
2014-04-05  5:39 ` Daniel Palmer [this message]
2014-04-05  7:42 ` Geert Uytterhoeven
2014-04-05  7:46   ` Daniel Palmer
2014-04-05  8:05 ` [PATCH v2 1/2] m68k: fix a compiler warning " Daniel Palmer
2014-04-08  7:13   ` Greg Ungerer

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=1396676398-31175-2-git-send-email-danieruru@gmail.com \
    --to=danieruru@gmail.com \
    --cc=linux-m68k@lists.linux-m68k.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