From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v2 00/12] ARM: Layerscape: LS1046a: switch to TF-A
Date: Tue, 22 Oct 2024 09:46:24 +0200 [thread overview]
Message-ID: <20241022-arm-layerscape-tfa-v2-0-69ac70ceb0ff@pengutronix.de> (raw)
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@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@pengutronix.de>
next reply other threads:[~2024-10-22 7:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 7:46 Sascha Hauer [this message]
2024-10-22 7:46 ` [PATCH v2 01/12] ARM: Layerscape: TQMLS1046a: Update DDR timings Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 02/12] ARM: Layerscape: images: fix variable name Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 03/12] ARM: Layerscape: images: add missing FORCE Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 04/12] ARM: Layerscape: TQMLS1046a: add support for 8GiB variant Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 05/12] ARM: Layerscape: ls1046ardb: remove unused variable Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 06/12] ARM: Layerscape: remove register arguments Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 07/12] ARM: Layerscape: LS1046a: add TF-A support Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 08/12] ARM: Layerscape: LS1046a-rdb: Switch to " Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 09/12] ARM: Layerscape: TQMLS1046a: " Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 10/12] ARM: Layerscape: LS1046a: remove PPA support Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 11/12] ARM: Layerscape: LS1046a: add PSCI node Sascha Hauer
2024-10-22 7:46 ` [PATCH v2 12/12] ARM: Layerscape: Update Documentation for TF-A Sascha Hauer
2024-10-22 8:16 ` Ahmad Fatoum
2024-10-23 12:42 ` [PATCH v2 00/12] ARM: Layerscape: LS1046a: switch to TF-A Sascha Hauer
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=20241022-arm-layerscape-tfa-v2-0-69ac70ceb0ff@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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