All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linuxppc-dev@ozlabs.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH 3/10] CPM2: Make support for the CPM2 optional on 8560 based boards
Date: Thu, 24 Jan 2008 18:41:25 -0500	[thread overview]
Message-ID: <12012180951674-git-send-email-paul.gortmaker@windriver.com> (raw)
Message-ID: <e314406ab20b7a8fd11365f7475e3cc9175d2b72.1201217172.git.paul.gortmaker@windriver.com> (raw)
In-Reply-To: <12012180944056-git-send-email-paul.gortmaker@windriver.com>
In-Reply-To: <e3ccba7097a77e66f07663fe9d1f174c06183528.1201217172.git.paul.gortmaker@windriver.com>

Currently there is no way to disable the CPM2 support.  Some boards,
like the SBC8560 have their own external UART and don't have any direct
dependencies on the CPM for a serial console or anything else.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/powerpc/platforms/85xx/Kconfig |    4 ++--
 arch/powerpc/platforms/Kconfig      |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index 0eb497b..33d3bea 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -13,6 +13,7 @@ config MPC8560_ADS
 	bool "Freescale MPC8560 ADS"
 	select DEFAULT_UIMAGE
 	select PPC_CPM_NEW_BINDING
+	select CPM2
 	help
 	  This option enables support for the MPC 8560 ADS board
 
@@ -41,7 +42,7 @@ config MPC85xx_DS
 config SBC8560
 	bool "Wind River SBC8560"
 	select DEFAULT_UIMAGE
-	select PPC_CPM_NEW_BINDING
+	select PPC_CPM_NEW_BINDING if CPM2
 	help
 	  This option enables support for the Wind River SBC8560 board
 
@@ -55,7 +56,6 @@ config MPC8540
 
 config MPC8560
 	bool
-	select CPM2
 	default y if MPC8560_ADS || SBC8560
 
 config MPC85xx
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 2cec343..27b74e9 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -278,8 +278,8 @@ config QUICC_ENGINE
 	  for a machine with a QE coprocessor.
 
 config CPM2
-	bool
-	default n
+	bool "Enable support for the CPM2 (Communications Processor Module)"
+	depends on MPC8560 || 8260
 	select CPM
 	select PPC_LIB_RHEAP
 	help
-- 
1.5.0.rc1.gf4b6c

  parent reply	other threads:[~2008-01-24 23:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 23:41 [PATCH 0/10] Support for SBC834x/8548/8560 Wind River Boards Paul Gortmaker
2008-01-24 23:41 ` [PATCH 1/10] sbc8560: add support for Wind River SBC8560 in arch/powerpc Paul Gortmaker
2008-01-24 23:41   ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 2/10] sbc8560: Add v1 device tree source for Wind River SBC8560 board Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-02-01  7:54     ` David Gibson
2008-02-01 14:46       ` Kumar Gala
2008-02-05  2:40         ` David Gibson
2008-02-05 15:44           ` Kumar Gala
2008-02-06  1:06             ` David Gibson
2008-02-05 16:53       ` Paul Gortmaker
2008-01-24 23:41   ` Paul Gortmaker [this message]
2008-01-24 23:41     ` [PATCH 3/10] CPM2: Make support for the CPM2 optional on 8560 based boards Paul Gortmaker
2008-01-25  0:15       ` Scott Wood
2008-01-25  0:20         ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 4/10] sbc8560: Add default .config file for Wind River SBC8560 Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 5/10] sbc8548: Add basic support for Wind River SBC8548 as powerpc Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 6/10] sbc8548: Add v1 device tree source for Wind River SBC8548 board Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 7/10] sbc8548: Add default .config file for Wind River SBC8548 Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 8/10] sbc834x: Add support for Wind River SBC834x boards Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 9/10] sbc834x: Add device tree source for Wind River SBC834x board Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-24 23:41   ` [PATCH 10/10] sbc834x: Add default config file for Wind River SBC8349 board Paul Gortmaker
2008-01-24 23:41     ` Paul Gortmaker
2008-01-25  8:38 ` [PATCH 0/10] Support for SBC834x/8548/8560 Wind River Boards Kumar Gala

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=12012180951674-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linuxppc-dev@ozlabs.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 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.