summaryrefslogtreecommitdiff
path: root/jedec.c
diff options
context:
space:
mode:
authorstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2008-06-21 00:19:52 +0000
committerstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2008-06-21 00:19:52 +0000
commitcdb6669689ea188dca7605e95344c24351f2f951 (patch)
tree016ec42c4f7887077ba440d02c4f7f5d891edb4d /jedec.c
parente8be7ea810817b7e9efe5dfbd3569d1f1ad85f31 (diff)
downloadflashrom-cdb6669689ea188dca7605e95344c24351f2f951.tar.gz
Original v2 revision: 3373
flashrom: Increase delay in probe_jedec() to 2ms to reliably detect AT29C020 Run time is increased a few 100ms but this is needed for reliability. I consider this trivial. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@262 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'jedec.c')
-rw-r--r--jedec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jedec.c b/jedec.c
index e818294..d166a13 100644
--- a/jedec.c
+++ b/jedec.c
@@ -103,7 +103,7 @@ int probe_jedec(struct flashchip *flash)
* needs 10 ms according to the data sheet, but it has been tested
* to work reliably with 20 us. Allow a factor of 2 safety margin.
*/
- myusec_delay(40);
+ myusec_delay(2000);
/* Read product ID */
id1 = *(volatile uint8_t *)bios;