diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-05-07 11:42:56 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-05-07 03:49:46 +0000 |
commit | a9abaae74ff38cf33c34f8444b77f8ecb3ef9b94 (patch) | |
tree | 5f4013dbcc2ceadd6a1526ed80558f6e6f467bba /edi.h | |
parent | 6a5472cee9805990a269cfe1c9d52bd52edf1006 (diff) | |
download | flashrom-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 'edi.h')
0 files changed, 0 insertions, 0 deletions