qe_lib: Add QE Kconfig
PATCH 1/12 qe_lib: Add QE Kconfig
---arch/powerpc/Kconfig | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
arch/powerpc/Kconfig +0 -0
@@ -355,6 +355,16 @@ config APUS
<http://linux-apus.sourceforge.net/>.
endchoice
+config QUICC_ENGINE
+ bool
+ depends on MPC836x
+ default y
+ help
+ The QE(QUICC Engine) is a new generation of coprocessor on + Freescale embedded CPUs(like CPM in older chips). Selecting + this option means that you wish to build a kernel for a machine + with QE coprocessor on it. + config PPC_PSERIES depends on PPC_MULTIPLATFORM && PPC64 bool "IBM pSeries & new (POWER5-based) iSeries"
@@ -1047,6 +1057,8 @@ # XXX source "arch/ppc/8xx_io/Kconfig"
# XXX source "arch/ppc/8260_io/Kconfig"
+source "arch/powerpc/sysdev/qe_lib/Kconfig"
+
source "arch/powerpc/platforms/iseries/Kconfig"
source "lib/Kconfig"
Quoted 12 lines
Signed-off-by Li Yang <[email protected]>Signed-off-by Kim Phillips <[email protected]>--- arch/powerpc/Kconfig | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)arch/powerpc/Kconfig +0
-0
arch/powerpc/Kconfig config APUS · line 360
Quoted 6 lines
arch/powerpc/Kconfig +3
-0@@ -355,6 +355,16 @@ config APUS <http://linux-apus.sourceforge.net/>. endchoice +config QUICC_ENGINE + bool + depends on MPC836x
The QUICC Engine is on chips other than MPC836x, such as the MPC832x:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8323E
Why do you want it to depend on MPC836x?
Or do you just plan to change this dependency once 832x support is in the source tree?
Chuck
Quoted 19 lines
arch/powerpc/Kconfig +9
-0+ default y + help + The QE(QUICC Engine) is a new generation of coprocessor on + Freescale embedded CPUs(like CPM in older chips). Selecting + this option means that you wish to build a kernel for a machine + with QE coprocessor on it. + config PPC_PSERIES depends on PPC_MULTIPLATFORM && PPC64 bool "IBM pSeries & new (POWER5-based) iSeries"@@ -1047,6 +1057,8 @@ # XXX source "arch/ppc/8xx_io/Kconfig" # XXX source "arch/ppc/8260_io/Kconfig" +source "arch/powerpc/sysdev/qe_lib/Kconfig" + source "arch/powerpc/platforms/iseries/Kconfig" source "lib/Kconfig"
Quoted 22 lines · Chuck Meade
Quoted 12 lines
Signed-off-by Li Yang <[email protected]>Signed-off-by Kim Phillips <[email protected]>--- arch/powerpc/Kconfig | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)arch/powerpc/Kconfig +0
-0arch/powerpc/Kconfig config APUS · line 360
Quoted 6 lines
arch/powerpc/Kconfig +3
-0@@ -355,6 +355,16 @@ config APUS <http://linux-apus.sourceforge.net/>. endchoice +config QUICC_ENGINE + bool + depends on MPC836xThe QUICC Engine is on chips other than MPC836x, such as the MPC832x:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8323E
Quoted 3 lines
Why do you want it to depend on MPC836x?
Or do you just plan to change this dependency once 832x support is in the source tree?
This will change when there is support for MPC832x, its fairly normally to start with the first processor that has the feature and than add others as time goes on.
- k