瀏覽代碼

QE: Move QE from arch/powerpc to drivers/soc

ls1 has qe and ls1 has arm cpu.
move qe from arch/powerpc to drivers/soc/fsl
to adapt to powerpc and arm

Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Zhao Qiang 9 年之前
父節點
當前提交
7aa1aa6ece
共有 48 個文件被更改,包括 92 次插入86 次删除
  1. 3 2
      MAINTAINERS
  2. 0 2
      arch/powerpc/Kconfig
  3. 1 1
      arch/powerpc/include/asm/cpm.h
  4. 2 2
      arch/powerpc/platforms/83xx/km83xx.c
  5. 1 1
      arch/powerpc/platforms/83xx/misc.c
  6. 2 2
      arch/powerpc/platforms/83xx/mpc832x_mds.c
  7. 2 2
      arch/powerpc/platforms/83xx/mpc832x_rdb.c
  8. 2 2
      arch/powerpc/platforms/83xx/mpc836x_mds.c
  9. 2 2
      arch/powerpc/platforms/83xx/mpc836x_rdk.c
  10. 1 1
      arch/powerpc/platforms/85xx/common.c
  11. 1 1
      arch/powerpc/platforms/85xx/corenet_generic.c
  12. 2 2
      arch/powerpc/platforms/85xx/mpc85xx_mds.c
  13. 2 2
      arch/powerpc/platforms/85xx/mpc85xx_rdb.c
  14. 2 2
      arch/powerpc/platforms/85xx/twr_p102x.c
  15. 0 11
      arch/powerpc/platforms/Kconfig
  16. 0 2
      arch/powerpc/sysdev/Makefile
  17. 1 1
      arch/powerpc/sysdev/cpm_common.c
  18. 1 1
      drivers/net/ethernet/freescale/fsl_pq_mdio.c
  19. 4 4
      drivers/net/ethernet/freescale/ucc_geth.c
  20. 4 4
      drivers/net/ethernet/freescale/ucc_geth.h
  21. 1 0
      drivers/soc/Kconfig
  22. 1 0
      drivers/soc/Makefile
  23. 6 0
      drivers/soc/fsl/Makefile
  24. 11 0
      drivers/soc/fsl/qe/Kconfig
  25. 0 0
      drivers/soc/fsl/qe/Makefile
  26. 1 1
      drivers/soc/fsl/qe/gpio.c
  27. 2 2
      drivers/soc/fsl/qe/qe.c
  28. 1 1
      drivers/soc/fsl/qe/qe_common.c
  29. 3 2
      drivers/soc/fsl/qe/qe_ic.c
  30. 2 2
      drivers/soc/fsl/qe/qe_ic.h
  31. 1 1
      drivers/soc/fsl/qe/qe_io.c
  32. 3 3
      drivers/soc/fsl/qe/ucc.c
  33. 4 4
      drivers/soc/fsl/qe/ucc_fast.c
  34. 4 4
      drivers/soc/fsl/qe/ucc_slow.c
  35. 2 2
      drivers/soc/fsl/qe/usb.c
  36. 1 1
      drivers/spi/spi-fsl-cpm.c
  37. 1 1
      drivers/tty/serial/ucc_uart.c
  38. 1 1
      drivers/usb/gadget/udc/fsl_qe_udc.c
  39. 1 1
      drivers/usb/host/fhci-hcd.c
  40. 1 1
      drivers/usb/host/fhci-hub.c
  41. 1 1
      drivers/usb/host/fhci-sched.c
  42. 2 2
      drivers/usb/host/fhci.h
  43. 0 0
      include/soc/fsl/qe/immap_qe.h
  44. 1 1
      include/soc/fsl/qe/qe.h
  45. 0 0
      include/soc/fsl/qe/qe_ic.h
  46. 2 2
      include/soc/fsl/qe/ucc.h
  47. 3 3
      include/soc/fsl/qe/ucc_fast.h
  48. 3 3
      include/soc/fsl/qe/ucc_slow.h

+ 3 - 2
MAINTAINERS

@@ -4489,8 +4489,9 @@ F:	include/linux/fs_enet_pd.h
 FREESCALE QUICC ENGINE LIBRARY
 L:	linuxppc-dev@lists.ozlabs.org
 S:	Orphan
-F:	arch/powerpc/sysdev/qe_lib/
-F:	arch/powerpc/include/asm/*qe.h
+F:	drivers/soc/fsl/qe/
+F:	include/soc/fsl/*qe*.h
+F:	include/soc/fsl/*ucc*.h
 
 FREESCALE USB PERIPHERAL DRIVERS
 M:	Li Yang <leoli@freescale.com>

+ 0 - 2
arch/powerpc/Kconfig

@@ -1076,8 +1076,6 @@ source "drivers/Kconfig"
 
 source "fs/Kconfig"
 
-source "arch/powerpc/sysdev/qe_lib/Kconfig"
-
 source "lib/Kconfig"
 
 source "arch/powerpc/Kconfig.debug"

+ 1 - 1
arch/powerpc/include/asm/cpm.h

@@ -5,7 +5,7 @@
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/of.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 
 /*
  * SPI Parameter RAM common to QE and CPM.

+ 2 - 2
arch/powerpc/platforms/83xx/km83xx.c

@@ -37,8 +37,8 @@
 #include <asm/udbg.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include "mpc83xx.h"
 

+ 1 - 1
arch/powerpc/platforms/83xx/misc.c

@@ -17,7 +17,7 @@
 #include <asm/io.h>
 #include <asm/hw_irq.h>
 #include <asm/ipic.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe_ic.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
 

+ 2 - 2
arch/powerpc/platforms/83xx/mpc832x_mds.c

@@ -36,8 +36,8 @@
 #include <asm/udbg.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include "mpc83xx.h"
 

+ 2 - 2
arch/powerpc/platforms/83xx/mpc832x_rdb.c

@@ -25,8 +25,8 @@
 #include <asm/time.h>
 #include <asm/ipic.h>
 #include <asm/udbg.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
 

+ 2 - 2
arch/powerpc/platforms/83xx/mpc836x_mds.c

@@ -44,8 +44,8 @@
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
 #include <sysdev/simple_gpio.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include "mpc83xx.h"
 

+ 2 - 2
arch/powerpc/platforms/83xx/mpc836x_rdk.c

@@ -20,8 +20,8 @@
 #include <asm/time.h>
 #include <asm/ipic.h>
 #include <asm/udbg.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
 

+ 1 - 1
arch/powerpc/platforms/85xx/common.c

@@ -9,7 +9,7 @@
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
 
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <sysdev/cpm2_pic.h>
 
 #include "mpc85xx.h"

+ 1 - 1
arch/powerpc/platforms/85xx/corenet_generic.c

@@ -27,7 +27,7 @@
 #include <asm/udbg.h>
 #include <asm/mpic.h>
 #include <asm/ehv_pic.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include <linux/of_platform.h>
 #include <sysdev/fsl_soc.h>

+ 2 - 2
arch/powerpc/platforms/85xx/mpc85xx_mds.c

@@ -48,8 +48,8 @@
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>
 #include <sysdev/simple_gpio.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 #include <asm/mpic.h>
 #include <asm/swiotlb.h>
 #include "smp.h"

+ 2 - 2
arch/powerpc/platforms/85xx/mpc85xx_rdb.c

@@ -26,8 +26,8 @@
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/mpic.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>

+ 2 - 2
arch/powerpc/platforms/85xx/twr_p102x.c

@@ -22,8 +22,8 @@
 #include <asm/pci-bridge.h>
 #include <asm/udbg.h>
 #include <asm/mpic.h>
-#include <asm/qe.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_pci.h>

+ 0 - 11
arch/powerpc/platforms/Kconfig

@@ -272,17 +272,6 @@ config TAU_AVERAGE
 
 	  If in doubt, say N here.
 
-config QUICC_ENGINE
-	bool "Freescale QUICC Engine (QE) Support"
-	depends on FSL_SOC && PPC32
-	select GENERIC_ALLOCATOR
-	select CRC32
-	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 QE_GPIO
 	bool "QE GPIO support"
 	depends on QUICC_ENGINE

+ 0 - 2
arch/powerpc/sysdev/Makefile

@@ -26,8 +26,6 @@ obj-$(CONFIG_FSL_85XX_CACHE_SRAM)	+= fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o
 obj-$(CONFIG_SIMPLE_GPIO)	+= simple_gpio.o
 obj-$(CONFIG_FSL_RIO)		+= fsl_rio.o fsl_rmu.o
 obj-$(CONFIG_TSI108_BRIDGE)	+= tsi108_pci.o tsi108_dev.o
-obj-$(CONFIG_QUICC_ENGINE)	+= qe_lib/
-obj-$(CONFIG_CPM)		+= qe_lib/
 mv64x60-$(CONFIG_PCI)		+= mv64x60_pci.o
 obj-$(CONFIG_MV64X60)		+= $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \
 				   mv64x60_udbg.o

+ 1 - 1
arch/powerpc/sysdev/cpm_common.c

@@ -28,7 +28,7 @@
 #include <asm/udbg.h>
 #include <asm/io.h>
 #include <asm/cpm.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 
 #include <mm/mmu_decl.h>
 

+ 1 - 1
drivers/net/ethernet/freescale/fsl_pq_mdio.c

@@ -29,7 +29,7 @@
 
 #include <asm/io.h>
 #if IS_ENABLED(CONFIG_UCC_GETH)
-#include <asm/ucc.h>	/* for ucc_set_qe_mux_mii_mng() */
+#include <soc/fsl/qe/ucc.h>
 #endif
 
 #include "gianfar.h"

+ 4 - 4
drivers/net/ethernet/freescale/ucc_geth.c

@@ -40,10 +40,10 @@
 #include <asm/uaccess.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
-#include <asm/ucc.h>
-#include <asm/ucc_fast.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/ucc.h>
+#include <soc/fsl/qe/ucc_fast.h>
 #include <asm/machdep.h>
 
 #include "ucc_geth.h"

+ 4 - 4
drivers/net/ethernet/freescale/ucc_geth.h

@@ -22,11 +22,11 @@
 #include <linux/list.h>
 #include <linux/if_ether.h>
 
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
-#include <asm/ucc.h>
-#include <asm/ucc_fast.h>
+#include <soc/fsl/qe/ucc.h>
+#include <soc/fsl/qe/ucc_fast.h>
 
 #define DRV_DESC "QE UCC Gigabit Ethernet Controller"
 #define DRV_NAME "ucc_geth"

+ 1 - 0
drivers/soc/Kconfig

@@ -1,6 +1,7 @@
 menu "SOC (System On Chip) specific Drivers"
 
 source "drivers/soc/brcmstb/Kconfig"
+source "drivers/soc/fsl/qe/Kconfig"
 source "drivers/soc/mediatek/Kconfig"
 source "drivers/soc/qcom/Kconfig"
 source "drivers/soc/rockchip/Kconfig"

+ 1 - 0
drivers/soc/Makefile

@@ -4,6 +4,7 @@
 
 obj-$(CONFIG_SOC_BRCMSTB)	+= brcmstb/
 obj-$(CONFIG_MACH_DOVE)		+= dove/
+obj-y				+= fsl/
 obj-$(CONFIG_ARCH_MEDIATEK)	+= mediatek/
 obj-$(CONFIG_ARCH_QCOM)		+= qcom/
 obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/

+ 6 - 0
drivers/soc/fsl/Makefile

@@ -0,0 +1,6 @@
+#
+# Makefile for the Linux Kernel SOC fsl specific device drivers
+#
+
+obj-$(CONFIG_QUICC_ENGINE)		+= qe/
+obj-$(CONFIG_CPM)			+= qe/

+ 11 - 0
arch/powerpc/sysdev/qe_lib/Kconfig → drivers/soc/fsl/qe/Kconfig

@@ -2,6 +2,17 @@
 # QE Communication options
 #
 
+config QUICC_ENGINE
+	bool "Freescale QUICC Engine (QE) Support"
+	depends on FSL_SOC && PPC32
+	select GENERIC_ALLOCATOR
+	select CRC32
+	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 UCC_SLOW
 	bool
 	default y if SERIAL_QE

+ 0 - 0
arch/powerpc/sysdev/qe_lib/Makefile → drivers/soc/fsl/qe/Makefile


+ 1 - 1
arch/powerpc/sysdev/qe_lib/gpio.c → drivers/soc/fsl/qe/gpio.c

@@ -21,7 +21,7 @@
 #include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/export.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 
 struct qe_gpio_chip {
 	struct of_mm_gpio_chip mm_gc;

+ 2 - 2
arch/powerpc/sysdev/qe_lib/qe.c → drivers/soc/fsl/qe/qe.c

@@ -31,8 +31,8 @@
 #include <asm/irq.h>
 #include <asm/page.h>
 #include <asm/pgtable.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <asm/prom.h>
 #include <asm/rheap.h>
 

+ 1 - 1
arch/powerpc/sysdev/qe_lib/qe_common.c → drivers/soc/fsl/qe/qe_common.c

@@ -26,7 +26,7 @@
 #include <linux/of_address.h>
 #include <linux/slab.h>
 #include <linux/io.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 
 static struct gen_pool *muram_pool;
 static spinlock_t cpm_muram_lock;

+ 3 - 2
arch/powerpc/sysdev/qe_lib/qe_ic.c → drivers/soc/fsl/qe/qe_ic.c

@@ -14,6 +14,8 @@
  * option) any later version.
  */
 
+#include <linux/of_irq.h>
+#include <linux/of_address.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/errno.h>
@@ -26,8 +28,7 @@
 #include <linux/spinlock.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/prom.h>
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #include "qe_ic.h"
 

+ 2 - 2
arch/powerpc/sysdev/qe_lib/qe_ic.h → drivers/soc/fsl/qe/qe_ic.h

@@ -1,5 +1,5 @@
 /*
- * arch/powerpc/sysdev/qe_lib/qe_ic.h
+ * drivers/soc/fsl/qe/qe_ic.h
  *
  * QUICC ENGINE Interrupt Controller Header
  *
@@ -16,7 +16,7 @@
 #ifndef _POWERPC_SYSDEV_QE_IC_H
 #define _POWERPC_SYSDEV_QE_IC_H
 
-#include <asm/qe_ic.h>
+#include <soc/fsl/qe/qe_ic.h>
 
 #define NR_QE_IC_INTS		64
 

+ 1 - 1
arch/powerpc/sysdev/qe_lib/qe_io.c → drivers/soc/fsl/qe/qe_io.c

@@ -21,7 +21,7 @@
 #include <linux/ioport.h>
 
 #include <asm/io.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <asm/prom.h>
 #include <sysdev/fsl_soc.h>
 

+ 3 - 3
arch/powerpc/sysdev/qe_lib/ucc.c → drivers/soc/fsl/qe/ucc.c

@@ -21,9 +21,9 @@
 
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
-#include <asm/ucc.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/ucc.h>
 
 int ucc_set_qe_mux_mii_mng(unsigned int ucc_num)
 {

+ 4 - 4
arch/powerpc/sysdev/qe_lib/ucc_fast.c → drivers/soc/fsl/qe/ucc_fast.c

@@ -21,11 +21,11 @@
 #include <linux/export.h>
 
 #include <asm/io.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
-#include <asm/ucc.h>
-#include <asm/ucc_fast.h>
+#include <soc/fsl/qe/ucc.h>
+#include <soc/fsl/qe/ucc_fast.h>
 
 void ucc_fast_dump_regs(struct ucc_fast_private * uccf)
 {

+ 4 - 4
arch/powerpc/sysdev/qe_lib/ucc_slow.c → drivers/soc/fsl/qe/ucc_slow.c

@@ -21,11 +21,11 @@
 #include <linux/export.h>
 
 #include <asm/io.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
-#include <asm/ucc.h>
-#include <asm/ucc_slow.h>
+#include <soc/fsl/qe/ucc.h>
+#include <soc/fsl/qe/ucc_slow.h>
 
 u32 ucc_slow_get_qe_cr_subblock(int uccs_num)
 {

+ 2 - 2
arch/powerpc/sysdev/qe_lib/usb.c → drivers/soc/fsl/qe/usb.c

@@ -17,8 +17,8 @@
 #include <linux/errno.h>
 #include <linux/export.h>
 #include <linux/io.h>
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
 int qe_usb_clock_set(enum qe_clock clk, int rate)
 {

+ 1 - 1
drivers/spi/spi-fsl-cpm.c

@@ -16,7 +16,7 @@
  * option) any later version.
  */
 #include <asm/cpm.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <linux/dma-mapping.h>
 #include <linux/fsl_devices.h>
 #include <linux/kernel.h>

+ 1 - 1
drivers/tty/serial/ucc_uart.c

@@ -31,7 +31,7 @@
 #include <linux/dma-mapping.h>
 
 #include <linux/fs_uart_pd.h>
-#include <asm/ucc_slow.h>
+#include <soc/fsl/qe/ucc_slow.h>
 
 #include <linux/firmware.h>
 #include <asm/reg.h>

+ 1 - 1
drivers/usb/gadget/udc/fsl_qe_udc.c

@@ -38,7 +38,7 @@
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/usb/otg.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <asm/cpm.h>
 #include <asm/dma.h>
 #include <asm/reg.h>

+ 1 - 1
drivers/usb/host/fhci-hcd.c

@@ -31,7 +31,7 @@
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
 #include <linux/slab.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <asm/fsl_gtm.h>
 #include "fhci.h"
 

+ 1 - 1
drivers/usb/host/fhci-hub.c

@@ -24,7 +24,7 @@
 #include <linux/usb.h>
 #include <linux/usb/hcd.h>
 #include <linux/gpio.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include "fhci.h"
 
 /* virtual root hub specific descriptor */

+ 1 - 1
drivers/usb/host/fhci-sched.c

@@ -25,7 +25,7 @@
 #include <linux/io.h>
 #include <linux/usb.h>
 #include <linux/usb/hcd.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/qe.h>
 #include <asm/fsl_gtm.h>
 #include "fhci.h"
 

+ 2 - 2
drivers/usb/host/fhci.h

@@ -27,8 +27,8 @@
 #include <linux/io.h>
 #include <linux/usb.h>
 #include <linux/usb/hcd.h>
-#include <asm/qe.h>
-#include <asm/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
 
 #define USB_CLOCK	48000000
 

+ 0 - 0
arch/powerpc/include/asm/immap_qe.h → include/soc/fsl/qe/immap_qe.h


+ 1 - 1
arch/powerpc/include/asm/qe.h → include/soc/fsl/qe/qe.h

@@ -22,7 +22,7 @@
 #include <linux/errno.h>
 #include <linux/err.h>
 #include <asm/cpm.h>
-#include <asm/immap_qe.h>
+#include <soc/fsl/qe/immap_qe.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/types.h>

+ 0 - 0
arch/powerpc/include/asm/qe_ic.h → include/soc/fsl/qe/qe_ic.h


+ 2 - 2
arch/powerpc/include/asm/ucc.h → include/soc/fsl/qe/ucc.h

@@ -15,8 +15,8 @@
 #ifndef __UCC_H__
 #define __UCC_H__
 
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
 #define STATISTICS
 

+ 3 - 3
arch/powerpc/include/asm/ucc_fast.h → include/soc/fsl/qe/ucc_fast.h

@@ -16,10 +16,10 @@
 
 #include <linux/kernel.h>
 
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
-#include <asm/ucc.h>
+#include <soc/fsl/qe/ucc.h>
 
 /* Receive BD's status */
 #define R_E	0x80000000	/* buffer empty */

+ 3 - 3
arch/powerpc/include/asm/ucc_slow.h → include/soc/fsl/qe/ucc_slow.h

@@ -17,10 +17,10 @@
 
 #include <linux/kernel.h>
 
-#include <asm/immap_qe.h>
-#include <asm/qe.h>
+#include <soc/fsl/qe/immap_qe.h>
+#include <soc/fsl/qe/qe.h>
 
-#include <asm/ucc.h>
+#include <soc/fsl/qe/ucc.h>
 
 /* transmit BD's status */
 #define T_R	0x80000000	/* ready bit */