Dave Frodin (dave.frodin@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2449
-gerrit
commit d6de5654d897392f7435405ba98fa7b4b1a7f625 Author: Dave Frodin dave.frodin@se-eng.com Date: Mon Feb 18 16:30:34 2013 -0700
SPI: Increase the default SPI page erase timeout
The M25P32 device can take up to 600 ms to erase.
Change-Id: I01e5bbb1f5bcf6ca68f6afe97d9b9052349d3242 Signed-off-by: Dave Frodin dave.frodin@se-eng.com --- src/drivers/spi/spi_flash_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/spi/spi_flash_internal.h b/src/drivers/spi/spi_flash_internal.h index 37ffee6..a738eaa 100644 --- a/src/drivers/spi/spi_flash_internal.h +++ b/src/drivers/spi/spi_flash_internal.h @@ -10,7 +10,7 @@ */ #define CONFIG_SYS_HZ 100 #define SPI_FLASH_PROG_TIMEOUT (2 * CONFIG_SYS_HZ) -#define SPI_FLASH_PAGE_ERASE_TIMEOUT (5 * CONFIG_SYS_HZ) +#define SPI_FLASH_PAGE_ERASE_TIMEOUT (20 * CONFIG_SYS_HZ) #define SPI_FLASH_SECTOR_ERASE_TIMEOUT (10 * CONFIG_SYS_HZ)
/* Common commands */