public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* 2nd CFI chip detection fails sometimes
@ 2000-08-07 14:31 David Vrabel
  2000-08-07 14:33 ` David Woodhouse
  2000-08-07 16:21 ` Stephane Laroche
  0 siblings, 2 replies; 4+ messages in thread
From: David Vrabel @ 2000-08-07 14:31 UTC (permalink / raw)
  To: mtd

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@infradead.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-08-07 16:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-07 14:31 2nd CFI chip detection fails sometimes David Vrabel
2000-08-07 14:33 ` David Woodhouse
2000-08-07 16:17   ` Stephane Laroche
2000-08-07 16:21 ` Stephane Laroche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox