diff options
Diffstat (limited to 'util/flashrom/m29f400bt.c')
-rw-r--r-- | util/flashrom/m29f400bt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/m29f400bt.c b/util/flashrom/m29f400bt.c index 40b219cadc..7d8539f5cd 100644 --- a/util/flashrom/m29f400bt.c +++ b/util/flashrom/m29f400bt.c @@ -64,6 +64,9 @@ int probe_m29f400bt(struct flashchip *flash) myusec_delay(10); id1 = *(volatile uint8_t *)bios; + /* The data sheet says id2 is at (bios + 0x01) and id2 listed in + * flash.h does not match. It should be possible to use JEDEC probe. + */ id2 = *(volatile uint8_t *)(bios + 0x02); *(volatile uint8_t *)(bios + 0xAAA) = 0xAA; |