[coreboot] New patch to review for coreboot: 55e091d SPI: Increase the default SPI page erase timeout

Dave Frodin (dave.frodin@se-eng.com) gerrit at coreboot.org
Tue Feb 19 00:41:17 CET 2013


Dave Frodin (dave.frodin at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2449

-gerrit

commit 55e091d745f1f6e4178e356e287ebd080178d54c
Author: Dave Frodin <dave.frodin at 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 600mS to erase.
    
    Change-Id: I01e5bbb1f5bcf6ca68f6afe97d9b9052349d3242
    Signed-off-by: Dave Frodin <dave.frodin at 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 */



More information about the coreboot mailing list