2nd CFI chip detection fails sometimes
David Vrabel
dvrabel at arcom.co.uk
Mon Aug 7 10:31:24 EDT 2000
Hi,
In cfi_probe.c (line 189)
/* put back previous value, in case we're operating on RAM... */
map->write16(map, tmp, base+ofs); <-- error here
#endif /* CFIDEV_INTERLEAVE_1 */
#if defined(CFIDEV_INTERLEAVE_2)
ofs = cfi_send_cmd(0x98, base, map, CFIDEV_INTERLEAVE_2,
CFI_DEVICETYPE_X8, &tmp);
The line marked error causes problems because it can put the flash chip
into an error state preventing correct detection. We need some way of
knowing if it's RAM before we do the write. Suggestions welcome!
David Vrabel
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list