]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
firmware: scmi: mailbox: Update timeout to 30ms
authorPeng Fan <peng.fan@nxp.com>
Fri, 26 Sep 2025 16:06:19 +0000 (00:06 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 9 Oct 2025 20:16:11 +0000 (14:16 -0600)
Following Linux Kernel drivers/firmware/arm_scmi/transports/mailbox.c to
set the default timeout to 30ms.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/firmware/scmi/mailbox_agent.c

index 6d4497f4b92ad21f7b303896fc75e2cdc27885c8..32b0fd9f589a30c2bb8bdbe8d655c3d47d0abd5a 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "smt.h"
 
-#define TIMEOUT_US_10MS                        10000
+#define TIMEOUT_US_30MS                        30000
 
 /**
  * struct scmi_mbox_channel - Description of an SCMI mailbox transport
@@ -87,7 +87,7 @@ static int setup_channel(struct udevice *dev, struct scmi_mbox_channel *chan)
                return ret;
        }
 
-       chan->timeout_us = TIMEOUT_US_10MS;
+       chan->timeout_us = TIMEOUT_US_30MS;
 
        return 0;
 }