summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-06-24 02:09:09 +0000
committerPeter Stuge <peter@stuge.se>2008-06-24 02:09:09 +0000
commit0667afd2948a867754f2c3d6b3e53eeca0092671 (patch)
treed75f42001e8fc484b436393f59bd0ac9c342882e /util/flashrom
parent606a207d9be0129296eda235896c9354b4e04e1f (diff)
flashrom: Increase delay in probe_jedec() after Product ID Entry to 10ms
We should follow data sheet timing, even if chips have been tested to answer faster in the field. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3387 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/jedec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/flashrom/jedec.c b/util/flashrom/jedec.c
index 821ebd401a..58a750a93f 100644
--- a/util/flashrom/jedec.c
+++ b/util/flashrom/jedec.c
@@ -100,10 +100,9 @@ int probe_jedec(struct flashchip *flash)
myusec_delay(10);
*(volatile uint8_t *)(bios + 0x5555) = 0x90;
/* Older chips may need up to 100 us to respond. The ATMEL 29C020
- * needs 10 ms according to the data sheet, but it has been tested
- * to work reliably with 2 ms.
+ * needs 10 ms according to the data sheet.
*/
- myusec_delay(2000);
+ myusec_delay(10000);
/* Read product ID */
id1 = *(volatile uint8_t *)bios;