projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5690128
)
mailbox: zynqmp: Extend timeout for getting observation bit
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 5 Oct 2020 13:23:00 +0000
(15:23 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:31 +0000
(08:13 +0100)
In case of fpga loading (which can be huge) 100ms is not enough. That's why
extend timeout 10 times to wait maximum 1s to get ACK back.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mailbox/zynqmp-ipi.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/zynqmp-ipi.c
b/drivers/mailbox/zynqmp-ipi.c
index
9483ed9
..
847a036
100644
(file)
--- a/
drivers/mailbox/zynqmp-ipi.c
+++ b/
drivers/mailbox/zynqmp-ipi.c
@@
-56,7
+56,7
@@
static int zynqmp_ipi_send(struct mbox_chan *chan, const void *data)
/* Wait until observation bit is cleared */
ret = wait_for_bit_le32(&ipi_int_apu->obs, IPI_BIT_MASK_PMU0, false,
- 100, false);
+ 100
0
, false);
debug("%s, send %ld bytes\n", __func__, msg->len);
return ret;