Skip to contentSkip to conversation

Add QUICC Engine (QE) infrastructure (2/2, try 2)

PATCH New Kim Phillips 1 participant 1 message Oct 4, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add QUICC Engine (QE) infrastructure (2/2, try 2)

From: Li Yang <[email protected]>

note: linuxppc-dev rejected patch 2/7, so I split 2/7 into two, of which this is the second and last.

See "[PATCH 2.1/7] Add QUICC Engine (QE) infrastructure (1/2)" for a description of what's changed.

---
 arch/powerpc/Kconfig           |   12 +
 arch/powerpc/sysdev/Makefile   |    1 
 include/asm-powerpc/immap_qe.h |  477 ++++++++++++++++++++++++++++++++++++++++
 include/asm-powerpc/qe.h       |  457 ++++++++++++++++++++++++++++++++++++++
 include/asm-powerpc/qe_ic.h    |   64 +++++
 include/asm-powerpc/ucc.h      |   84 +++++++
 include/asm-powerpc/ucc_fast.h |  243 ++++++++++++++++++++
 include/asm-powerpc/ucc_slow.h |  289 ++++++++++++++++++++++++
 include/linux/fsl_devices.h    |   65 ++++-
 9 files changed, 1678 insertions(+), 14 deletions(-)
arch/powerpc/Kconfig +12 -0
index de1ef2f..e8446b8 100644
@@ -355,6 +355,16 @@ config APUS
 	  <http://linux-apus.sourceforge.net/>.
 endchoice
 
+config QUICC_ENGINE
+	bool
+	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_PSERIES
 	depends on PPC_MULTIPLATFORM && PPC64
 	bool "IBM pSeries & new (POWER5-based) iSeries"
@@ -1059,6 +1069,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"
arch/powerpc/sysdev/Makefile +1 -0
index f15f4d7..91f052d 100644
@@ -12,6 +12,7 @@ obj-$(CONFIG_MMIO_NVRAM)	+= mmio_nvram.o
 obj-$(CONFIG_FSL_SOC)		+= fsl_soc.o
 obj-$(CONFIG_PPC_TODC)		+= todc.o
 obj-$(CONFIG_TSI108_BRIDGE)	+= tsi108_pci.o tsi108_dev.o
+obj-$(CONFIG_QUICC_ENGINE)	+= qe_lib/
 
 ifeq ($(CONFIG_PPC_MERGE),y)
 obj-$(CONFIG_PPC_I8259)		+= i8259.o
include/asm-powerpc/immap_qe.h new file +477 -0

477 lines not on this page · raw message

include/asm-powerpc/qe.h new file +457 -0

457 lines not on this page · raw message

include/asm-powerpc/qe_ic.h new file +64 -0

64 lines not on this page · raw message

include/asm-powerpc/ucc.h new file +84 -0

84 lines not on this page · raw message

include/asm-powerpc/ucc_fast.h new file +243 -0

243 lines not on this page · raw message

include/asm-powerpc/ucc_slow.h new file +289 -0

289 lines not on this page · raw message

include/linux/fsl_devices.h +51 -14

97 lines not on this page · raw message

Signature · 1 line
1.4.2.3