Thread (16 messages) flat view 16 messages, 5 authors, 2007-03-16

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

From: Scott Wood <hidden>
Date: 2007-03-15 16:47:36

On Thu, Mar 15, 2007 at 10:07:31AM -0500, Kumar Gala wrote:
 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.
+
Instead of doing it like this, what about having each QE-enabled SOC
select HAS_QUICC_ENGINE, and then have the user-configurable
QUICC_ENGINE option depend on HAS_QUICC_ENGINE?

That way, there's no need for separate 83xx and 85xx defines, and the
knowledge of which SOCs have QE is maintaned with the SOC entry, rather
than in a separate list.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help