From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH 0/6] arm: socfpga: agilex5: cleanup QSPI flash low level code
Date: Wed, 06 May 2026 11:06:06 +0200 [thread overview]
Message-ID: <20260506-socfpga-agilex5-qspi-v1-0-94def85c1b80@pengutronix.de> (raw)
On Agilex 5, barebox runs in the HPS (hard processor system) which needs
to explicitly request QSPI flash access from the SDM (secure device
manager). This request may be denied by the SDM. Furthermore, barebox
needs to store the clock rate reported by the SDM.
Cleanup and refactor the code that handles the QSPI flash request from
the SDM. This is a preparation for eventually reading a second stage
boot loader from QSPI flash.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (6):
arm: socfpga: agilex5: add missing include soc64-regs.h
arm: socfgpa: agilex5: remove mailbox_s10 from barebox proper
arm: socfpga: agilex5: extract function to request qspi access
arm: socfpga: mailbox_s10: keep clock rate in Hz
arm: socfpga: mailbox_s10: add write_qspi_refclk helper
arm: socfpga: agilex5: extract write_qspi_refclk from mailbox
arch/arm/mach-socfpga/Makefile | 1 -
arch/arm/mach-socfpga/atf.c | 27 +++++++++++++++++++++++++--
arch/arm/mach-socfpga/mailbox_s10.c | 23 ++++++++---------------
include/mach/socfpga/mailbox_s10.h | 2 +-
include/mach/socfpga/soc64-firewall.h | 2 ++
include/mach/socfpga/soc64-system-manager.h | 21 +++++++++++++++++++++
6 files changed, 57 insertions(+), 19 deletions(-)
---
base-commit: 7a178f01f6e25474a5eb6e071ca479076b8d4d92
change-id: 20260505-socfpga-agilex5-qspi-5cb9abd175a8
Best regards,
--
Michael Tretter <m.tretter@pengutronix.de>
next reply other threads:[~2026-05-06 9:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 9:06 Michael Tretter [this message]
2026-05-06 9:06 ` [PATCH 1/6] arm: socfpga: agilex5: add missing include soc64-regs.h Michael Tretter
2026-05-06 9:06 ` [PATCH 2/6] arm: socfgpa: agilex5: remove mailbox_s10 from barebox proper Michael Tretter
2026-05-06 9:06 ` [PATCH 3/6] arm: socfpga: agilex5: extract function to request qspi access Michael Tretter
2026-05-06 9:06 ` [PATCH 4/6] arm: socfpga: mailbox_s10: keep clock rate in Hz Michael Tretter
2026-05-06 9:06 ` [PATCH 5/6] arm: socfpga: mailbox_s10: add write_qspi_refclk helper Michael Tretter
2026-05-06 9:06 ` [PATCH 6/6] arm: socfpga: agilex5: extract write_qspi_refclk from mailbox Michael Tretter
2026-05-07 10:48 ` [PATCH 0/6] arm: socfpga: agilex5: cleanup QSPI flash low level code 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=20260506-socfpga-agilex5-qspi-v1-0-94def85c1b80@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=s.trumtrar@pengutronix.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