Skip to content

Commit a10cf7f

Browse files
quic-bjorandeandersson
authored andcommitted
firehose: Increase image write timeout to 60 seconds
The somewhat arbitrary timeout of 30 seconds was chosen by observing a worst case time of ~15 seconds when flashing Hamoa and Nord. But, as reported, flashing SAIL on Nord sometimes needs this timeout to be ~35 seconds. While the relationship between the different factors and the needed timeout isn't fully understood, bump the value to 60 seconds to make it work for this case as well. Signed-off-by: Bjorn Andersson <[email protected]>
1 parent e033f0f commit a10cf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firehose.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ static int firehose_program(struct qdl_device *qdl, struct program *program, int
465465
* let's double it to be on the safe side...
466466
*/
467467
if (qdl->storage_type == QDL_STORAGE_SPINOR)
468-
zlp_timeout = 30000;
468+
zlp_timeout = 60000;
469469

470470
num_sectors = program->num_sectors;
471471
sector_size = program->sector_size ? : qdl->sector_size;

0 commit comments

Comments
 (0)