diff options
author | Peter Stuge <peter@stuge.se> | 2008-06-21 00:19:52 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-06-21 00:19:52 +0000 |
commit | 4ff88b4d49226859ce762acd4cf49c5e98aed12e (patch) | |
tree | d896d1d9957c423dd9771ce6a393949c813a60ae /util/flashrom/jedec.c | |
parent | 5f2e30c9ed04c617d5af6b5fed22fa82115c8512 (diff) | |
download | coreboot-4ff88b4d49226859ce762acd4cf49c5e98aed12e.tar.xz |
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: svn://svn.coreboot.org/coreboot/trunk@3373 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/jedec.c')
-rw-r--r-- | util/flashrom/jedec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/jedec.c b/util/flashrom/jedec.c index e818294f0e..d166a131f6 100644 --- a/util/flashrom/jedec.c +++ b/util/flashrom/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; |