diff options
| author | Jamie Gibbons <[email protected]> | 2026-07-22 16:45:48 +0100 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2026-08-05 10:16:07 -0700 |
| commit | 47cd1fd361e61be4c8293e02aa4b6c60c2d26d76 (patch) | |
| tree | 93e87e5006ac0ac6746adc5d3b09e08375004d11 /include/mtd_node.h | |
| parent | 899cbeee1c8a521cf9f2c4242bc17c26c6ebc448 (diff) | |
mailbox: mpfs-mbox: replace unbounded BUSY polling with bounded waits
The MPFS mailbox driver used unbounded polling loops and treated the
BUSY bit as a fatal condition in several paths. On MPFS, BUSY may be
transiently reasserted even after response data is written, which is
observable in U-Boot’s synchronous, polled execution model.
Replace the unbounded loops with a bounded
regmap_read_poll_timeout()-based helper that waits for the controller to
become idle.
This preserves existing behaviour while preventing infinite stalls
and avoiding spurious failures during early boot.
Signed-off-by: Jamie Gibbons <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Diffstat (limited to 'include/mtd_node.h')
0 files changed, 0 insertions, 0 deletions
