diff options
| author | Padmarao Begari <[email protected]> | 2025-11-19 09:50:23 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2025-12-19 08:25:27 +0100 |
| commit | 66a9a431ee62c90762f919c038b54393c7fa5bd8 (patch) | |
| tree | 162c4406607209a982fb3733e52149bb9f2ea174 /scripts/objdiff | |
| parent | b2a8ac78202ec5c3917fc8f635fdd4abc6ce752c (diff) | |
board: xilinx: Retry FRU EEPROM read on timeout
Wrap the dm_i2c_read() call is used for FRU EEPROM reads in a
retry loop, attempting up to EEPROM_FRU_READ_RETRY times if a
-ETIMEDOUT error is returned. The loop exits immediately on
success or any error other than -ETIMEDOUT. This improves
robustness against transient I2C timeouts during FRU detection
and decoding.
Signed-off-by: Padmarao Begari <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/9556d204c351d2dc40176a31dab11f789fd1cc7f.1763542221.git.michal.simek@amd.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
