From 6a9fd1dc8c1115affe39fb39a04dc6e051eb34cc Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sat, 21 Jun 2008 00:19:52 +0000 Subject: 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. Corresponding to flashrom svn r262 and coreboot v2 svn r3373. Signed-off-by: Peter Stuge Acked-by: Peter Stuge --- jedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jedec.c') diff --git a/jedec.c b/jedec.c index e818294f0..d166a131f 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; -- cgit v1.2.3