mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-24 10:52:13 +01:00
firmware: scmi: mailbox: Update timeout to 30ms
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>
This commit is contained in:
parent
b2ae10970d
commit
f116ec5b91
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user