Skip to content

Commit d05f05c

Browse files
timgovertimg236
authored andcommitted
rpi-eeprom-config: Increase the timeout for flashrom shell-cmd
20 seconds is a little too short for safety with flashrom if every page has to be erased and re-written. Bump this to 60 seconds which is probably too long but nothing good will come from interrupting flashrom.
1 parent d53e3dd commit d05f05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: rpi-eeprom-config

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def apply_update(config, eeprom=None, config_src=None):
180180

181181
# If flashrom is used then the command will not return until the EEPROM
182182
# has been updated so use a larger timeout.
183-
shell_cmd(args, timeout=20, echo=True)
183+
shell_cmd(args, timeout=60, echo=True)
184184

185185
def edit_config(eeprom=None):
186186
"""

0 commit comments

Comments
 (0)