[PATCH] arch: arm: mach-socfpga: Change U-Boot mailbox client ID
Chee, Tien Fong
tien.fong.chee at altera.com
Mon Apr 13 11:45:13 CEST 2026
> ---> From: Maniyam, Dinesh <dinesh.maniyam at altera.com>
> Sent: Wednesday, February 25, 2026 12:32 PM
> To: u-boot at lists.denx.de <u-boot at lists.denx.de>
> Cc: Marek Vasut <marex at denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com>; Tom Rini <trini at konsulko.com>; Chee, Tien
> Fong <tien.fong.chee at altera.com>; Hea, Kok Kiang <kok.kiang.hea at altera.com>;
> Maniyam, Dinesh <dinesh.maniyam at altera.com>; Ng, Boon Khai
> <boon.khai.ng at altera.com>; Yuslaimi, Alif Zakuan
> <alif.zakuan.yuslaimi at altera.com>
> Subject: [PATCH] arch: arm: mach-socfpga: Change U-Boot mailbox client ID
> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
> Changed MBOX_CLIENT_ID_UBOOT to be the same with ATF's mailbox
> client ID so that SDM can treat them as same client for related
> request. Otherwise, under some specific cases, like QSPI_OPEN in
> SPL stage used different client ID with ATF's client ID for QSPI
> exclusive access, then following QSPI access like QSPI_CLOSE via
> SMC call to ATF will fail.
> Signed-off-by: Dinesh Maniyam <dinesh.maniyam at altera.com>
> ---
> arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
> b/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
> index 1a461de4819..0025ea2dbab 100644
> --- a/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
> +++ b/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
> @@ -10,7 +10,7 @@
> /* user define Uboot ID */
> #include <linux/bitfield.h>
> #include <linux/bitops.h>
> -#define MBOX_CLIENT_ID_UBOOT 0xB
> +#define MBOX_CLIENT_ID_UBOOT 0x1
> #define MBOX_ID_UBOOT 0x1
> #define MBOX_CMD_DIRECT 0
> --
> 2.43.7
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list