diff --git a/common/spi_flash.c b/common/spi_flash.c index 0b73df132e..41138c5362 100644 --- a/common/spi_flash.c +++ b/common/spi_flash.c @@ -230,6 +230,11 @@ int spi_flash_erase(unsigned int offset, unsigned int bytes) bytes -= 32 * 1024; offset += 32 * 1024; + /* + * Refresh watchdog since we may be erasing a large + * number of blocks. + */ + watchdog_reload(); } }