[PATCH 00/19] ARM: add Layerscape LS1028a support

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 4 06:17:27 PST 2024


This series adds the missing pieces to add NXP Layerscape LS1028a
support. The only supported board so far is the LS1028a RDB board.

Sascha Hauer (18):
  soc/fsl: import immap_lsch3 from U-Boot
  soc/fsl/immap_lsch2.h: cleanup
  ARM: layerscape: decide SCFG endianess during runtime
  ARM: layerscape: cleanup erratum_a009007
  ARM: layerscape: cleanup erratum_a008997
  ARM: layerscape: cleanup erratum_a009798
  ARM: layerscape: drop wrong errata workaround
  ARM: layerscape: cleanup erratum_a009008
  ARM: Layerscape: pass base addresses to errata functions
  ARM: Layerscape: add layerscape_uart_putc()
  ARM: layerscape: implement ls1028a errata
  ARM: layerscape: implement ls1028a debug_ll
  include: <asm-generic/bug.h>: implement ASSERT()
  ARM: Layerscape: add tzc400 support
  ARM: Add ls1028a lowlevel init
  ARM: atf: add bl31 v2 calling method
  mci: imx-esdhc-pbl: factor out common function
  mci: imx-esdhc-pbl: implement esdhc xload for ls1028a

Uwe Kleine-König (1):
  ARM: Layerscape: add basic support for NXP LS1028a RDB

 arch/arm/boards/Makefile                      |   1 +
 arch/arm/boards/ls1028ardb/Makefile           |   5 +
 arch/arm/boards/ls1028ardb/board.c            |  30 ++
 arch/arm/boards/ls1028ardb/lowlevel.c         | 142 ++++++++
 arch/arm/boards/ls1028ardb/ls1028ardb_pbi.cfg |  14 +
 .../boards/ls1028ardb/ls1028ardb_rcw_sd.cfg   |  14 +
 arch/arm/boards/ls1028ardb/start.S            |  19 ++
 arch/arm/configs/layerscape_defconfig         |   5 +-
 arch/arm/cpu/atf.c                            |  94 ++++++
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/fsl-ls1028a-rdb.dts              |  12 +
 arch/arm/include/asm/atf_common.h             |  40 +++
 arch/arm/mach-layerscape/Kconfig              |  15 +-
 arch/arm/mach-layerscape/Makefile             |   5 +-
 arch/arm/mach-layerscape/errata.c             | 120 ++++---
 arch/arm/mach-layerscape/lowlevel-ls1028a.c   |  42 +++
 arch/arm/mach-layerscape/lowlevel-ls102xa.c   |   7 +
 arch/arm/mach-layerscape/lowlevel-ls1046a.c   |   2 +
 arch/arm/mach-layerscape/soc.c                |  56 ++++
 arch/arm/mach-layerscape/tzc400.c             | 303 ++++++++++++++++++
 arch/arm/mach-layerscape/tzc400.h             | 164 ++++++++++
 drivers/mci/imx-esdhc-pbl.c                   | 115 +++++--
 firmware/Kconfig                              |   3 +
 firmware/Makefile                             |   1 +
 images/Makefile.layerscape                    |   9 +
 include/asm-generic/bug.h                     |   5 +
 include/mach/layerscape/debug_ll.h            |  42 ++-
 include/mach/layerscape/errata.h              |   2 +
 include/mach/layerscape/layerscape.h          |  19 ++
 include/mach/layerscape/lowlevel.h            |   3 +
 include/mach/layerscape/xload.h               |   4 +
 include/soc/fsl/immap_lsch2.h                 |  19 +-
 include/soc/fsl/immap_lsch3.h                 | 187 +++++++++++
 include/soc/fsl/scfg.h                        |  19 ++
 34 files changed, 1425 insertions(+), 94 deletions(-)
 create mode 100644 arch/arm/boards/ls1028ardb/Makefile
 create mode 100644 arch/arm/boards/ls1028ardb/board.c
 create mode 100644 arch/arm/boards/ls1028ardb/lowlevel.c
 create mode 100644 arch/arm/boards/ls1028ardb/ls1028ardb_pbi.cfg
 create mode 100644 arch/arm/boards/ls1028ardb/ls1028ardb_rcw_sd.cfg
 create mode 100644 arch/arm/boards/ls1028ardb/start.S
 create mode 100644 arch/arm/dts/fsl-ls1028a-rdb.dts
 create mode 100644 arch/arm/mach-layerscape/lowlevel-ls1028a.c
 create mode 100644 arch/arm/mach-layerscape/soc.c
 create mode 100644 arch/arm/mach-layerscape/tzc400.c
 create mode 100644 arch/arm/mach-layerscape/tzc400.h
 create mode 100644 include/soc/fsl/immap_lsch3.h
 create mode 100644 include/soc/fsl/scfg.h

-- 
2.39.2




More information about the barebox mailing list