Author: stuge Date: 2008-06-24 04:09:09 +0200 (Tue, 24 Jun 2008) New Revision: 3387
Modified: trunk/util/flashrom/jedec.c Log: 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
Modified: trunk/util/flashrom/jedec.c =================================================================== --- trunk/util/flashrom/jedec.c 2008-06-24 01:22:03 UTC (rev 3386) +++ trunk/util/flashrom/jedec.c 2008-06-24 02:09:09 UTC (rev 3387) @@ -100,10 +100,9 @@ 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;