summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2022-11-30 11:25:00 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-01 04:11:08 +0000
commit35adc7e3efd58ac1b96a0da22221c6461f61f392 (patch)
tree27243e8b25ce4749ad631b57c935d4864f70293d
parent5b46258340905c32aa5be7d0d5ad6ffad7bf71d9 (diff)
downloadchrome-ec-35adc7e3efd58ac1b96a0da22221c6461f61f392.tar.gz
usb_spi: increase SPI_HASH timeout to 10 minutes
Boards with large RO regions may take more than a minute to go through every AP RO verification factory flag. Increase the timeout to 10 minutes. No boards should take that long to run verification. BUG=b:236844541,b:260878795 TEST=run firmware_GSCAPROV1Trigger on zork Change-Id: I94110b33acee746bb319c4829e627d7b511306e6 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4066234 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--board/cr50/usb_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/usb_spi.c b/board/cr50/usb_spi.c
index 3516fa717a..a16c2df3e5 100644
--- a/board/cr50/usb_spi.c
+++ b/board/cr50/usb_spi.c
@@ -37,7 +37,7 @@
#define SPI_HASH_CHUNK_SIZE 64
/* Timeout for auto-disabling SPI hash device, in microseconds */
-#define SPI_HASH_TIMEOUT_US (60 * SECOND)
+#define SPI_HASH_TIMEOUT_US (600 * SECOND)
/* Current device for SPI hashing */
static uint8_t spi_hash_device = USB_SPI_DISABLE;