[PATCH] [MTD] [CHIPS] stm_flash: new ST PSD4256G compatible flash chip driver

David Woodhouse dwmw2 at infradead.org
Sat Sep 19 17:01:46 EDT 2009


On Sat, 2009-09-19 at 16:28 -0400, Mike Frysinger wrote:
> 
> > Can't you do the same?
> 
> afaik, it isnt JEDEC compliant either.  you can find the data sheet
> here:
> http://www.st.com/stonline/products/literature/ds/8116/psd4256g6v.htm
> 
> so if i created a probe function that created a fake cfi table and
> then called cfi_cmdset_0002(), you think the read/write/erase
> functions would work ?  

At first glance, it looks like that would work, yes. It basically seems
to be the same command set, at its core.

> i dont see any mapping drivers that do this
> kind of thing.  where can i find an example ?

The examples are cfi_probe.c and jedec_probe.c. We have no example of
setting it up _directly_ from a map driver, but that doesn't mean it
can't be done.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation




More information about the linux-mtd mailing list