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

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

From: Timur Tabi <hidden>
Date: 2007-03-15 16:51:47

Scott Wood wrote:
quoted
+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?
The purpose of doing it this way is that the "QE Support" option appears 
BELOW each SOC option.  So if you pick an 836x, you'll see a menu that 
says "QE support".  You want to have the menu option to disable QE 
support even if the QE is present on the SOC.

We will need to do the same thing with the 8568, when the QE support 
works with it.  At that point, there will be a "QUICC_ENGINE_85xx", 
which will appear on *that* menu.

You cannot have the same config option in more than one Kconfig file.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help