[CHROMIUM] ichspi: Add workaround to increase hwseq timeouts
Increase timeout for hwseq operations to 1 second.
BUG=b:215255210,b:217629892
BRANCH=brya
TEST=run stress-fpt and stress-fw-update in parallel, this causes
the CSE firmware and the host to both read and write to the flash
device concurrently, which should cause maximal contention and thus
maximal timeouts. The test passes over dozens of iterations, where
before it would have failed on each iteration (kano).
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I0d8df56fc55491040893166854a8c5e73e83b150
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3498895
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Subrata Banik <subratabanik@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: YH Lin <yueherngl@chromium.org>
Commit-Queue: YH Lin <yueherngl@chromium.org>
(cherry picked from commit f3fde5cff2cec7abb3914e95c4e2aa98de86164d)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3502820
Tested-by: YH Lin <yueherngl@chromium.org>
1 file changed