From: Dinesh Maniyam <[email protected]>

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 <[email protected]>
---
 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

Reply via email to