[PATCH v2 00/12] ARM: Layerscape: LS1046a: switch to TF-A
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 22 00:46:24 PDT 2024
Our LS1046a support still uses the long deprecated and binary-only PPA
secure monitor firmware. It's time to switch this over to TF-A. We do
not bother to keep the PPA support as it's long outdated and it would
also make the code code and barebox configuration unnecessarily
complicated.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Changes in v2:
- add missing FORCE in images/Makefile.layerscape
- drop -16 cargo cult when setting up a stack
- use pr_debug rather than printf
- add TF-A firmware to test/generate-dummy-fw.sh
- drop ppA firmware from test/generate-dummy-fw.sh
- update documentation
- disable CAAM JR3 for the kernel, it's used by TF-A
- Link to v1: https://lore.barebox.org/20241021-arm-layerscape-tfa-v1-0-0980697b6f66@pengutronix.de
---
Sascha Hauer (12):
ARM: Layerscape: TQMLS1046a: Update DDR timings
ARM: Layerscape: images: fix variable name
ARM: Layerscape: images: add missing FORCE
ARM: Layerscape: TQMLS1046a: add support for 8GiB variant
ARM: Layerscape: ls1046ardb: remove unused variable
ARM: Layerscape: remove register arguments
ARM: Layerscape: LS1046a: add TF-A support
ARM: Layerscape: LS1046a-rdb: Switch to TF-A support
ARM: Layerscape: TQMLS1046a: Switch to TF-A support
ARM: Layerscape: LS1046a: remove PPA support
ARM: Layerscape: LS1046a: add PSCI node
ARM: Layerscape: Update Documentation for TF-A
Documentation/boards/layerscape.rst | 13 +-
arch/arm/boards/ls1021aiot/lowlevel.c | 6 +-
arch/arm/boards/ls1046ardb/board.c | 6 -
arch/arm/boards/ls1046ardb/lowlevel.c | 29 ++-
arch/arm/boards/ls1046ardb/start.S | 14 +-
arch/arm/boards/tqmls1046a/board.c | 37 +++-
arch/arm/boards/tqmls1046a/lowlevel.c | 327 ++++++++++++++++++++++++++++++----
arch/arm/boards/tqmls1046a/start.S | 19 +-
arch/arm/dts/fsl-ls1046a.dtsi | 5 +
arch/arm/mach-layerscape/Kconfig | 14 +-
arch/arm/mach-layerscape/Makefile | 2 +-
arch/arm/mach-layerscape/ppa-entry.S | 32 ----
arch/arm/mach-layerscape/ppa.c | 147 ---------------
arch/arm/mach-layerscape/soc.c | 32 ++++
arch/arm/mach-layerscape/tfa.c | 32 ++++
arch/arm/mach-layerscape/xload-qspi.c | 19 +-
arch/arm/mach-layerscape/xload.c | 12 +-
drivers/mci/imx-esdhc-pbl.c | 13 +-
firmware/Kconfig | 3 +
firmware/Makefile | 2 +-
images/Makefile.layerscape | 36 ++--
include/mach/layerscape/layerscape.h | 11 +-
include/mach/layerscape/xload.h | 16 +-
test/generate-dummy-fw.sh | 2 +-
24 files changed, 516 insertions(+), 313 deletions(-)
---
base-commit: dda64a15ea026c95ccd8bd8a8b70c7e070af1a15
change-id: 20241021-arm-layerscape-tfa-74bb4fe5713e
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list