[PATCH][POWERPC] QE: Make QUICC Engine support a configurableoption

Kumar Gala galak at kernel.crashing.org
Fri Mar 16 02:07:31 EST 2007


Here's the new patch, we will add in the 85xx version once 8568 is
functional.

- k

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 5e1ac10..ae181d3 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -396,11 +396,7 @@ endchoice

 config QUICC_ENGINE
 	bool
-	help
-	  The QUICC Engine (QE) is a new generation of communications
-	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
-	  Selecting this option means that you wish to build a kernel
-	  for a machine with a QE coprocessor.
+	default n

 config PPC_PSERIES
 	depends on PPC_MULTIPLATFORM && PPC64
diff --git a/arch/powerpc/platforms/83xx/Kconfig b/arch/powerpc/platforms/83xx/Kconfig
index 713b31a..9e0f457 100644
--- a/arch/powerpc/platforms/83xx/Kconfig
+++ b/arch/powerpc/platforms/83xx/Kconfig
@@ -14,7 +14,6 @@ config MPC8313_RDB
 config MPC832x_MDS
 	bool "Freescale MPC832x MDS"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
 	help
 	  This option enables support for the MPC832x MDS evaluation board.

@@ -41,12 +40,22 @@ config MPC834x_ITX
 config MPC836x_MDS
 	bool "Freescale MPC836x MDS"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
 	help
 	  This option enables support for the MPC836x MDS Processor Board.

 endchoice

+config QUICC_ENGINE_83xx
+	bool "QUICC Engine Support"
+	select QUICC_ENGINE
+	depends on PPC_MPC836x || PPC_MPC832x
+	default y
+	---help---
+	  The QUICC Engine (QE) is a new generation of communications
+	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
+	  Selecting this option means that you wish to build a kernel
+	  for a machine with a QE coprocessor.
+
 config PPC_MPC831x
 	bool
 	select PPC_UDBG_16550



More information about the Linuxppc-dev mailing list