mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] arm: socfpga: mailbox_s10: cleanup and error handling
@ 2026-03-11 11:06 Michael Tretter
  2026-03-11 11:06 ` [PATCH 1/4] arm: socfpga: mailbox_s10: make retry logic more visible Michael Tretter
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael Tretter @ 2026-03-11 11:06 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Michael Tretter

On Agilex 5, barebox uses the mailbox_s10 to gain access to the QSPI
flash. Depending on the system configuration, the SDM may deny this
access. barebox assumes that the access always works and surprisingly
fails, if this isn't the case. Add at least some error messages for this
situation.

While at it, cleanup the code to make it more readable and easier to
follow.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (4):
      arm: socfpga: mailbox_s10: make retry logic more visible
      arm: socfpga: mailbox_s10: cleanup send command
      arm: socfpga: mailbox_s10: add error messages for QSPI
      arm: socfpga: mailbox_s10: handle error 0x8f explicitly

 arch/arm/mach-socfpga/mailbox_s10.c | 43 ++++++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 17 deletions(-)
---
base-commit: 019645e2b1cf0561afa7dd043e169eff416123ee
change-id: 20260311-agilex5-qspi-5a5ee90c0365

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-13 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-11 11:06 [PATCH 0/4] arm: socfpga: mailbox_s10: cleanup and error handling Michael Tretter
2026-03-11 11:06 ` [PATCH 1/4] arm: socfpga: mailbox_s10: make retry logic more visible Michael Tretter
2026-03-11 11:06 ` [PATCH 2/4] arm: socfpga: mailbox_s10: cleanup send command Michael Tretter
2026-03-11 11:06 ` [PATCH 3/4] arm: socfpga: mailbox_s10: add error messages for QSPI Michael Tretter
2026-03-11 11:06 ` [PATCH 4/4] arm: socfpga: mailbox_s10: handle error 0x8f explicitly Michael Tretter
2026-03-13 14:39 ` [PATCH 0/4] arm: socfpga: mailbox_s10: cleanup and error handling Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox