summaryrefslogtreecommitdiffstats
path: root/spi25_statusreg.c
diff options
context:
space:
mode:
authorBrian J. Nemec <bnemec@chromium.org>2020-05-06 15:25:58 -0700
committerEdward O'Callaghan <quasisec@chromium.org>2020-05-08 02:18:10 +0000
commit93bfafc0ecc45bafcf792d362cbc302c15280909 (patch)
tree654cd68ce971653cbf1337d920d0fef10fdec391 /spi25_statusreg.c
parenta5cbe437613a9a5710b084064bf20a7027d562e1 (diff)
downloadflashrom-93bfafc0ecc45bafcf792d362cbc302c15280909.tar.gz
flashrom-93bfafc0ecc45bafcf792d362cbc302c15280909.tar.bz2
flashrom-93bfafc0ecc45bafcf792d362cbc302c15280909.zip
raiden_debug_spi.c: Enables USB retry for invalid write count
Enables the USB SPI transfer retry mechanism when the error code USB_SPI_WRITE_COUNT_INVALID is returned. This error code can indicate a recoverable USB transfer failure. BUG=b:153887087 BRANCH=none TEST=Manual testing of ServoMicro and Flashrom when performing reads, writes, and verification of the EC firmware on Nami. TEST=Modified ServoMicro to randomly corrupt USB packets when reading the packet length to replicate bad packets and the verify recovery is successful. Change-Id: I9e6b2ccec0b06aab0d6920f1bddf108058e5d6b1 Signed-off-by: Brian J. Nemec <bnemec@chromium.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/41152 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'spi25_statusreg.c')
0 files changed, 0 insertions, 0 deletions