Skip to contentSkip to conversation

powerpc: make Freescale QE support a selectable Kconfig option

PATCH Applied Timur Tabi 2 participants 4 messages Oct 3, 2008

Subsystems (3)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH v2 1/1 powerpc: make Freescale QE support a selectable Kconfig option

Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support.

The drawback is that QE support is now disabled by default on platforms that have a QE, and so a defconfig is needed to enable QE and QE devices (like UCC GETH). Fortunately, all the current relevant defconfigs do that already.

---

This patch should be applied to Kumar's branch for 2.6.28 patches.

 arch/powerpc/platforms/83xx/Kconfig |    5 -----
 arch/powerpc/platforms/85xx/Kconfig |    1 -
 arch/powerpc/platforms/Kconfig      |    3 ++-
 3 files changed, 2 insertions(+), 7 deletions(-)
arch/powerpc/platforms/83xx/Kconfig +0 -5
index 6159c5d..83c664a 100644
@@ -19,7 +19,6 @@ config MPC831x_RDB
 config MPC832x_MDS
 	bool "Freescale MPC832x MDS"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
 	select PPC_MPC832x
 	help
 	  This option enables support for the MPC832x MDS evaluation board.
@@ -27,7 +26,6 @@ config MPC832x_MDS
 config MPC832x_RDB
 	bool "Freescale MPC832x RDB"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
 	select PPC_MPC832x
 	help
 	  This option enables support for the MPC8323 RDB board.
@@ -57,15 +55,12 @@ 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.
 
 config MPC836x_RDK
 	bool "Freescale/Logic MPC836x RDK"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
-	select QE_GPIO
 	select FSL_GTM
 	select FSL_LBC
 	help
arch/powerpc/platforms/85xx/Kconfig +0 -1
index 291675b..b79dc71 100644
@@ -33,7 +33,6 @@ config MPC85xx_CDS
 config MPC85xx_MDS
 	bool "Freescale MPC85xx MDS"
 	select DEFAULT_UIMAGE
-	select QUICC_ENGINE
 	select PHYLIB
 	help
 	  This option enables support for the MPC85xx MDS board
arch/powerpc/platforms/Kconfig +2 -1
index 9578c45..6cf517f 100644
@@ -239,7 +239,8 @@ config TAU_AVERAGE
 	  If in doubt, say N here.
 
 config QUICC_ENGINE
-	bool
+	bool "Freescale QUICC Engine (QE) Support"
+	depends on FSL_SOC
 	select PPC_LIB_RHEAP
 	select CRC32
 	help
Signature · 1 line
1.5.5
Applied
#1 lore raw
Quoted 8 lines · Timur Tabi

Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support.

The drawback is that QE support is now disabled by default on platforms that have a QE, and so a defconfig is needed to enable QE and QE devices (like UCC GETH). Fortunately, all the current relevant defconfigs do that already.

Quoted 8 lines

---

This patch should be applied to Kumar's branch for 2.6.28 patches.

arch/powerpc/platforms/83xx/Kconfig |    5 -----
arch/powerpc/platforms/85xx/Kconfig |    1 -
arch/powerpc/platforms/Kconfig      |    3 ++-
3 files changed, 2 insertions(+), 7 deletions(-)

applied

- k

author
#2 lore raw
Quoted 1 line · Kumar Gala

applied

I have a few other patches that I've sent you over the past couple weeks that you haven't applied:

powerpc: fix conflict with Elo DMA driver in MPC8610 device tree
powerpc: remove CHRP and PMAC support from defconfigs, fix Kconfigs
powerpc: remove support for bootmem-allocated memory for the DIU driver

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#3 lore raw
Quoted 1 line · Timur Tabi

powerpc: fix conflict with Elo DMA driver in MPC8610 device tree

in my queue.

Quoted 1 line

powerpc: remove CHRP and PMAC support from defconfigs, fix Kconfigs

For BenH to look at.

Quoted 1 line

powerpc: remove support for bootmem-allocated memory for the DIU driver

I'll take a look

- k