1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

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 <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Peter Stuge 2008-06-21 00:19:52 +00:00
parent cb5c211a48
commit 6a9fd1dc8c

View File

@ -103,7 +103,7 @@ int probe_jedec(struct flashchip *flash)
* needs 10 ms according to the data sheet, but it has been tested * 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. * to work reliably with 20 us. Allow a factor of 2 safety margin.
*/ */
myusec_delay(40); myusec_delay(2000);
/* Read product ID */ /* Read product ID */
id1 = *(volatile uint8_t *)bios; id1 = *(volatile uint8_t *)bios;