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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3387 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
606a207d9b
commit
0667afd294
|
@ -100,10 +100,9 @@ int probe_jedec(struct flashchip *flash)
|
||||||
myusec_delay(10);
|
myusec_delay(10);
|
||||||
*(volatile uint8_t *)(bios + 0x5555) = 0x90;
|
*(volatile uint8_t *)(bios + 0x5555) = 0x90;
|
||||||
/* Older chips may need up to 100 us to respond. The ATMEL 29C020
|
/* 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
|
* needs 10 ms according to the data sheet.
|
||||||
* to work reliably with 2 ms.
|
|
||||||
*/
|
*/
|
||||||
myusec_delay(2000);
|
myusec_delay(10000);
|
||||||
|
|
||||||
/* Read product ID */
|
/* Read product ID */
|
||||||
id1 = *(volatile uint8_t *)bios;
|
id1 = *(volatile uint8_t *)bios;
|
||||||
|
|
Loading…
Reference in New Issue