diff options
Diffstat (limited to 'src/drivers/spi/atmel.c')
-rw-r--r-- | src/drivers/spi/atmel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/spi/atmel.c b/src/drivers/spi/atmel.c index 58a2862eeb..ac7f0d92e7 100644 --- a/src/drivers/spi/atmel.c +++ b/src/drivers/spi/atmel.c @@ -137,7 +137,8 @@ static int atmel_write(const struct spi_flash *flash, u32 offset, size_t len, goto out; } - ret = spi_flash_cmd_wait_ready(flash, SPI_FLASH_PROG_TIMEOUT); + ret = spi_flash_cmd_wait_ready(flash, + SPI_FLASH_PROG_TIMEOUT_MS); if (ret) goto out; |