mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
mailbox: zynqmp: Extend timeout for getting observation bit
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>
This commit is contained in:
@@ -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);
|
||||
1000, false);
|
||||
|
||||
debug("%s, send %ld bytes\n", __func__, msg->len);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user