[U-Boot] [Patch V5 11/17] armv8/fsl_lsch3: Change arch to fsl-layerscape

York Sun yorksun at freescale.com
Thu Oct 15 21:30:34 CEST 2015



On 10/15/2015 06:02 AM, Gong Qianyu wrote:
> From: Mingkai Hu <Mingkai.Hu at freescale.com>
> 
> There are two LS series processors are built on ARMv8 Layersacpe
> architecture currently, LS2085A and LS1043A. They are based on
> ARMv8 core although use different chassis, so create fsl-layerscape
> to refactor the common code for the LS series processors which also
> paves the way for adding LS1043A platform.
> 
> Signed-off-by: Mingkai Hu <Mingkai.Hu at freescale.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong at freescale.com>
> ---
> V5:
>  - Move LS2085A ddr macros out of soc #ifdef.
>  - Move macros and structs from cpu.c to cpu.h.
>  - Wrap le32 and be32 functions for ccsr gur and scfg. Defined in soc.h
>  - Modify fsl-layerscape/Makefile.
> V4:
>  - New patch.
> 
>  arch/arm/cpu/armv8/Makefile                        |   2 +-
>  arch/arm/cpu/armv8/fsl-layerscape/Makefile         |  21 ++
>  .../README => fsl-layerscape/README.lsch3}         |   0
>  .../cpu/armv8/{fsl-lsch3 => fsl-layerscape}/cpu.c  | 249 ++++++---------------
>  .../cpu/armv8/{fsl-lsch3 => fsl-layerscape}/cpu.h  |   2 +-
>  .../cpu/armv8/{fsl-lsch3 => fsl-layerscape}/fdt.c  |  17 +-
>  .../fsl_lsch3_serdes.c                             |   8 +-
>  .../speed.c => fsl-layerscape/fsl_lsch3_speed.c}   |  12 +-
>  .../armv8/{fsl-lsch3 => fsl-layerscape}/lowlevel.S |  14 +-
>  .../{fsl-lsch3 => fsl-layerscape}/ls2085a_serdes.c |   3 +-
>  .../cpu/armv8/{fsl-lsch3 => fsl-layerscape}/mp.c   |  15 +-
>  .../cpu/armv8/{fsl-lsch3 => fsl-layerscape}/soc.c  |  35 +--
>  arch/arm/cpu/armv8/fsl-layerscape/spl.c            |  76 +++++++
>  arch/arm/cpu/armv8/fsl-lsch3/Makefile              |  13 --
>  arch/arm/cpu/armv8/fsl-lsch3/speed.h               |   7 -
>  .../clock.h                                        |   8 +-
>  arch/arm/include/asm/arch-fsl-layerscape/config.h  |  59 +++++
>  arch/arm/include/asm/arch-fsl-layerscape/cpu.h     | 165 ++++++++++++++
>  .../{arch-fsl-lsch3 => arch-fsl-layerscape}/fdt.h  |   4 +
>  .../fsl_serdes.h                                   |  11 +-
>  .../immap_lsch3.h                                  | 119 ++++++++--
>  .../arm/include/asm/arch-fsl-layerscape/imx-regs.h |  55 +++++
>  .../ls2085a_stream_id.h                            |   0
>  arch/arm/include/asm/arch-fsl-layerscape/mmu.h     |  10 +
>  .../asm/arch-fsl-layerscape}/mp.h                  |  10 +-
>  .../{arch-fsl-lsch3 => arch-fsl-layerscape}/soc.h  |  21 +-
>  arch/arm/include/asm/arch-fsl-layerscape/speed.h   |  10 +
>  arch/arm/include/asm/arch-fsl-lsch3/config.h       | 185 ---------------
>  arch/arm/include/asm/arch-fsl-lsch3/gpio.h         |   9 -
>  arch/arm/include/asm/arch-fsl-lsch3/imx-regs.h     |  13 --
>  arch/arm/include/asm/config.h                      |   7 +-
>  arch/arm/include/asm/global_data.h                 |   2 +-
>  board/freescale/ls2085aqds/Kconfig                 |   2 +-
>  board/freescale/ls2085aqds/eth.c                   |   1 -
>  board/freescale/ls2085aqds/ls2085aqds.c            |   2 +-
>  board/freescale/ls2085ardb/Kconfig                 |   2 +-
>  board/freescale/ls2085ardb/eth_ls2085rdb.c         |   1 -
>  board/freescale/ls2085ardb/ls2085ardb.c            |   2 +-
>  drivers/i2c/mxc_i2c.c                              |   4 +-
>  drivers/misc/fsl_debug_server.c                    |   1 -
>  drivers/net/ldpaa_eth/ls2085a.c                    |   2 -
>  drivers/pci/pcie_layerscape.c                      |   4 +-
>  include/common.h                                   |   3 +
>  include/configs/ls2085a_common.h                   |  47 +++-
>  44 files changed, 712 insertions(+), 521 deletions(-)
> 

You missed board/freescale/ls2085a/Kconfig and board/freescale/ls2085a/ls2085a.c.

York



More information about the U-Boot mailing list