public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Intel 28F640 cfi_cmdset_0001 chip is FL_STATUS after MTD_close
@ 2004-02-11 15:17 Cam
  2004-02-11 15:30 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Cam @ 2004-02-11 15:17 UTC (permalink / raw)
  To: linux-mtd

Hello,

I hope I have the right list for this question.

I'm looking into a problem with some Intel 28F640 flash on a powerPC 
board. I find that the cfi_cmdset_0001 code leaves the flash in the 
FL_STATUS state after MTD_close. The chips remain in this state which 
leaves the memory unreadable.

I would have expected the flash to be left in the read array state when 
not in use.

I think the chip status in the driver and that in the chip is in sync, 
ie. the driver is deliberately leaving the chip in this state.

I found a previous reference to a similar problem:

http://lists.infradead.org/pipermail/linux-mtd/2001-November/003603.html

The problem described there is more serious in that the chip and the 
driver seem to get out of step with regards to the FL_STATUS state.

Is there a reason why the chip is not left in the read array state after 
an MTD_close? My first thought is to modify cfi_intelext_sync, called by 
MTD_close so that the chip is left in the read array state after the 
sync command, but being a newcomer to this code I might be missing 
something important.

Comments?

-Cam
-- 
camilo@mesias.co.uk                                                 <--

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

end of thread, other threads:[~2004-02-11 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 15:17 Intel 28F640 cfi_cmdset_0001 chip is FL_STATUS after MTD_close Cam
2004-02-11 15:30 ` David Woodhouse
2004-02-11 15:44   ` Cam
2004-02-11 15:49     ` David Woodhouse

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