[PATCH v3 0/2] Initial LS1021-IOT board support

Sascha Hauer sha at pengutronix.de
Tue Mar 14 06:51:23 PDT 2023


Hi Renaud,

On Mon, Mar 13, 2023 at 02:43:26PM +0000, Renaud Barbier wrote:
> After the acceptance of the architected timer, the LS1021A support is sent
> again as two patches.
> 
> The LS1021A-IOT is NXP ARMv7 Layerscape evaluation board.
> 
> These patches provide a basic board support with:
> 	- DDR3
> 	- UART
> 	- boot from SPI
> 
> The code is ported from NXP U-boot 2021-04.
> 
> Renaud Barbier (2):
>   ARM: add LS1021A to Layerscape machine support
>   ARM: Layerscape: Add LS1021A IOT board support

Applied with some changes. First I rebased on current -next which means
renaming arch/arm/mach-layerscape/include/mach/ to
include/mach/layerscape/. Then setting CONFIG_ARCH_TEXT_BASE shouldn't
be needed. Also I renamed back some layerscape_ prefixes to ls1046a_ and
ls1021a_. Please check the result in current -next.

Sascha

> 
>  arch/arm/boards/Makefile                      |   1 +
>  arch/arm/boards/ls1021aiot/Makefile           |   3 +
>  arch/arm/boards/ls1021aiot/board.c            |  47 +++
>  arch/arm/boards/ls1021aiot/lowlevel.c         | 120 ++++++
>  arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg    |  11 +
>  .../boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg |   8 +
>  arch/arm/boards/ls1021aiot/start.S            |  11 +
>  arch/arm/boards/ls1046ardb/lowlevel.c         |   2 +-
>  arch/arm/boards/tqmls1046a/board.c            |   2 +-
>  arch/arm/boards/tqmls1046a/lowlevel.c         |   2 +-
>  arch/arm/configs/layerscape_v7_defconfig      |  94 +++++
>  arch/arm/dts/Makefile                         |   1 +
>  arch/arm/dts/fsl-ls1021a-iot.dts              |  77 ++++
>  arch/arm/mach-layerscape/Kconfig              |  14 +
>  arch/arm/mach-layerscape/Makefile             |   9 +-
>  arch/arm/mach-layerscape/boot.c               |  11 +-
>  arch/arm/mach-layerscape/errata.c             |  76 +++-
>  .../mach-layerscape/include/mach/debug_ll.h   |   5 +-
>  .../arm/mach-layerscape/include/mach/errata.h |   2 +
>  .../mach-layerscape/include/mach/fsl_epu.h    |  67 +++
>  .../mach-layerscape/include/mach/layerscape.h |   7 +-
>  .../mach-layerscape/include/mach/lowlevel.h   |   1 +
>  arch/arm/mach-layerscape/include/mach/xload.h |   4 +
>  arch/arm/mach-layerscape/lowlevel-ls102xa.c   | 389 ++++++++++++++++++
>  arch/arm/mach-layerscape/ls102xa_stream_id.c  |  55 +++
>  arch/arm/mach-layerscape/restart.c            |  30 ++
>  arch/arm/mach-layerscape/xload-qspi.c         |  43 +-
>  arch/arm/mach-layerscape/xload.c              |  20 +-
>  images/Makefile.layerscape                    |   9 +
>  include/soc/fsl/immap_lsch2.h                 | 171 +++++++-
>  30 files changed, 1255 insertions(+), 37 deletions(-)
>  create mode 100644 arch/arm/boards/ls1021aiot/Makefile
>  create mode 100644 arch/arm/boards/ls1021aiot/board.c
>  create mode 100644 arch/arm/boards/ls1021aiot/lowlevel.c
>  create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg
>  create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg
>  create mode 100644 arch/arm/boards/ls1021aiot/start.S
>  create mode 100644 arch/arm/configs/layerscape_v7_defconfig
>  create mode 100644 arch/arm/dts/fsl-ls1021a-iot.dts
>  create mode 100644 arch/arm/mach-layerscape/include/mach/fsl_epu.h
>  create mode 100644 arch/arm/mach-layerscape/lowlevel-ls102xa.c
>  create mode 100644 arch/arm/mach-layerscape/ls102xa_stream_id.c
>  create mode 100644 arch/arm/mach-layerscape/restart.c
> 
> -- 
> 2.27.0
> 
> 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list