[PATCH] powerpc/qe_lib: Share the qe_lib for the others architecture

Scott Wood scottwood at freescale.com
Tue Oct 15 04:11:59 EST 2013


On Mon, 2013-10-14 at 19:37 +0800, Xie Xiaobo wrote:
> The QUICC Engine (QE) is a communications coprocessors on Freescale
> embedded processors. The QE had been applied in PowerPC architecture
> previously, and it will be applied in ARM architecture too.
> So move the qe_lib from arch/powerpc to driver/ firstly.
> 
> Signed-off-by: Xie Xiaobo <X.Xie at freescale.com>
> ---
>  arch/powerpc/Kconfig                         |   2 -
>  arch/powerpc/include/asm/immap_qe.h          | 491 -----------------
>  arch/powerpc/include/asm/qe.h                | 740 -------------------------
>  arch/powerpc/include/asm/qe_ic.h             | 144 -----
>  arch/powerpc/include/asm/ucc.h               |  64 ---
>  arch/powerpc/include/asm/ucc_fast.h          | 244 --------
>  arch/powerpc/include/asm/ucc_slow.h          | 290 ----------
>  arch/powerpc/platforms/85xx/mpc85xx_mds.c    |   4 +-
>  arch/powerpc/platforms/85xx/mpc85xx_rdb.c    |   4 +-
>  arch/powerpc/platforms/Kconfig               |  19 -
>  arch/powerpc/sysdev/Makefile                 |   1 -
>  arch/powerpc/sysdev/qe_lib/Kconfig           |  27 -
>  arch/powerpc/sysdev/qe_lib/Makefile          |  10 -
>  arch/powerpc/sysdev/qe_lib/gpio.c            | 317 -----------
>  arch/powerpc/sysdev/qe_lib/qe.c              | 708 ------------------------
>  arch/powerpc/sysdev/qe_lib/qe_ic.c           | 501 -----------------
>  arch/powerpc/sysdev/qe_lib/qe_ic.h           | 103 ----
>  arch/powerpc/sysdev/qe_lib/qe_io.c           | 218 --------
>  arch/powerpc/sysdev/qe_lib/ucc.c             | 213 -------
>  arch/powerpc/sysdev/qe_lib/ucc_fast.c        | 364 ------------
>  arch/powerpc/sysdev/qe_lib/ucc_slow.c        | 380 -------------
>  arch/powerpc/sysdev/qe_lib/usb.c             |  56 --
>  drivers/Kconfig                              |   2 +
>  drivers/Makefile                             |   3 +
>  drivers/net/ethernet/freescale/fsl_pq_mdio.c |   2 +-
>  drivers/net/ethernet/freescale/ucc_geth.c    |   8 +-
>  drivers/net/ethernet/freescale/ucc_geth.h    |   8 +-
>  drivers/qe/Kconfig                           |  51 ++
>  drivers/qe/Makefile                          |  10 +
>  drivers/qe/gpio.c                            | 317 +++++++++++
>  drivers/qe/qe.c                              | 708 ++++++++++++++++++++++++
>  drivers/qe/qe_common.c                       | 187 +++++++
>  drivers/qe/qe_ic.c                           | 501 +++++++++++++++++
>  drivers/qe/qe_ic.h                           | 103 ++++
>  drivers/qe/qe_io.c                           | 218 ++++++++
>  drivers/qe/ucc.c                             | 213 +++++++
>  drivers/qe/ucc_fast.c                        | 364 ++++++++++++
>  drivers/qe/ucc_slow.c                        | 380 +++++++++++++
>  drivers/qe/usb.c                             |  56 ++
>  drivers/spi/spi-fsl-cpm.c                    |   2 +-
>  drivers/tty/serial/ucc_uart.c                |   2 +-
>  include/qe/immap_qe.h                        | 491 +++++++++++++++++
>  include/qe/qe.h                              | 794 +++++++++++++++++++++++++++
>  include/qe/qe_ic.h                           | 144 +++++
>  include/qe/ucc.h                             |  64 +++
>  include/qe/ucc_fast.h                        | 244 ++++++++
>  include/qe/ucc_slow.h                        | 290 ++++++++++

Use -M -C with git format-patch.

-Scott





More information about the Linuxppc-dev mailing list