CFI command set 0002 (AMD/Fujitsu) work.

David Woodhouse dwmw2 at infradead.org
Mon Feb 16 09:31:57 EST 2004


On Mon, 2004-02-16 at 14:24 +0000, David Vrabel wrote:
> I'm currently working on cfi_cmdset_0002.c to get erase-suspend-program 
> working.  So far I've taken all the chip status checking code and 
> refactored it into a single function -- it was all a bit of a mess.

Thanks for doing this.


> 1. There's a fair amount of crap related to very broken SST chips (all 
> the stuff for retrying commands).  a) This is mess and appears only 
> applicable to a very few number of chips; b) I'm not sure it would even 
> work if talking to the chip is broken then retrying a few times won't 
> guarantee it will work.  I'd suggest removing this stuff from 
> cfi_cmdset_0002.c.  Clearly the SST chips aren't compliant even though 
> they claim to be.  Thoughts?

That seems reasonable to me. It's horrid. I wonder if we could do it in
a wrapper around the 'real' chip driver, only for the broken chips?

> 2. The "fast programming" feature (unlock bypass) which is currently 
> always disabled (due to "code brokeness"). I don't believe this will 
> ever work with erase-suspends.  Should the "fast programming" stuff be 
> removed?

Yes, drop it until/unless someone wants to make it work.

-- 
dwmw2




More information about the linux-mtd mailing list