[PATCH 0/4] arm: socfpga: mailbox_s10: cleanup and error handling
Michael Tretter
m.tretter at pengutronix.de
Wed Mar 11 04:06:38 PDT 2026
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 at 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 at pengutronix.de>
More information about the barebox
mailing list