public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch V5 11/17] armv8/fsl_lsch3: Change arch to fsl-layerscape
Date: Thu, 15 Oct 2015 12:30:34 -0700	[thread overview]
Message-ID: <561FFEDA.4000606@freescale.com> (raw)
In-Reply-To: <1444914162-34502-12-git-send-email-Qianyu.Gong@freescale.com>



On 10/15/2015 06:02 AM, Gong Qianyu wrote:
> From: Mingkai Hu <Mingkai.Hu@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@freescale.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong@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

  reply	other threads:[~2015-10-15 19:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 13:02 [U-Boot] [Patch V5 00/17] Add LS1043A platform support Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 01/17] armv7/ls1021a: move ns_access to common file Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 02/17] common/board_f.c: modify the macro to use get_clocks() more common Gong Qianyu
2015-10-16  4:07   ` Kushwaha Prabhakar
2015-10-16  6:56     ` Gong Q.Y.
2015-10-15 13:02 ` [U-Boot] [Patch V5 03/17] net/fm: Fix the endian issue to support both endianness platforms Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 04/17] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 05/17] net/fm: Add support for 64-bit platforms Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 06/17] net/fm: Make the return value logic consistent with convention Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 07/17] net/fm: bug fix when CONFIG_PHYLIB not defined Gong Qianyu
2015-10-16  4:25   ` Kushwaha Prabhakar
2015-10-15 13:02 ` [U-Boot] [Patch V5 08/17] net: Move some header files to include/ Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 09/17] net/fm: Add QSGMII PCS init Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 10/17] net/fm: fix MDIO controller base on FMAN2 Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 11/17] armv8/fsl_lsch3: Change arch to fsl-layerscape Gong Qianyu
2015-10-15 19:30   ` York Sun [this message]
2015-10-16  6:20   ` Prabhakar
2015-10-16  8:44     ` Gong Q.Y.
2015-10-19  5:44       ` Kushwaha Prabhakar
2015-10-15 13:02 ` [U-Boot] [Patch V5 12/17] armv8/fsl_lsch2: Add fsl_lsch2 SoC Gong Qianyu
2015-10-16  6:28   ` Prabhakar
2015-10-16 10:17     ` Gong Q.Y.
2015-10-15 13:02 ` [U-Boot] [Patch V5 13/17] armv8/ls1043ardb: Add LS1043ARDB board support Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 14/17] armv8/ls1043ardb: Add nand boot support Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 15/17] armv8/ls1043a: Add Fman support Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 16/17] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb Gong Qianyu
2015-10-15 13:02 ` [U-Boot] [Patch V5 17/17] armv8/ls1043ardb: Add sd boot support Gong Qianyu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=561FFEDA.4000606@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox