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.
This commit is contained in:
Tim Gover
2024-09-15 18:27:09 +01:00
committed by timg236
parent d53e3dd4b1
commit d05f05c94f

View File

@@ -180,7 +180,7 @@ def apply_update(config, eeprom=None, config_src=None):
# If flashrom is used then the command will not return until the EEPROM # If flashrom is used then the command will not return until the EEPROM
# has been updated so use a larger timeout. # has been updated so use a larger timeout.
shell_cmd(args, timeout=20, echo=True) shell_cmd(args, timeout=60, echo=True)
def edit_config(eeprom=None): def edit_config(eeprom=None):
""" """