summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-05-07 11:42:56 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2020-05-07 03:49:46 +0000
commita9abaae74ff38cf33c34f8444b77f8ecb3ef9b94 (patch)
tree5f4013dbcc2ceadd6a1526ed80558f6e6f467bba /flashrom.c
parent6a5472cee9805990a269cfe1c9d52bd52edf1006 (diff)
downloadflashrom-a9abaae74ff38cf33c34f8444b77f8ecb3ef9b94.tar.gz
flashrom-a9abaae74ff38cf33c34f8444b77f8ecb3ef9b94.tar.bz2
flashrom-a9abaae74ff38cf33c34f8444b77f8ecb3ef9b94.zip
realtek_mst_i2c_spi.c: Fix cmd timeout issue
Chip erasures take much longer than sector and bank erasures. Allow the wait loop helper to multiply the max timeout in this very specific case while quickly timeout for other ops that are expected to be shorter. V.2: Fix nonsense fall though warn-err BUG=b:152558985,b:148745673 BRANCH=none TEST=flashrom -p realtek_mst_i2c_spi:bus=8 -E && flashrom -p realtek_mst_i2c_spi:bus=8 -w foo (cycle).. Change-Id: I4a36aa3101827e69eb244775d25bbb476d4bb780 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/41123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com>
Diffstat (limited to 'flashrom.c')
0 files changed, 0 insertions, 0 deletions