summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/spi_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spi_flash.c b/common/spi_flash.c
index 1ee39e78d8..e202e1e17d 100644
--- a/common/spi_flash.c
+++ b/common/spi_flash.c
@@ -170,7 +170,7 @@ int spi_flash_read(uint8_t *buf_usr, unsigned int offset, unsigned int bytes)
read_size);
if (ret != EC_SUCCESS)
break;
- msleep(1);
+ msleep(CONFIG_SPI_FLASH_READ_WAIT_MS);
}
return ret;
}