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

David Woodhouse dwmw2 at infradead.org
Sat Sep 19 16:08:56 EDT 2009


On Sat, 2009-06-13 at 06:59 -0400, Mike Frysinger wrote:
> The ST PSD4256G Flash In-System Programming (ISP) part is a multifunction
> device.  Since all of the different pieces are memory mapped, this is a
> driver for the NOR flash component.  All the other pieces can use generic
> memory based drivers.  Unfortunately, this is not a CFI compliant part in
> any way, so we need a dedicated chip driver for it.

Hrm. This looks very similar to cfi_cmdset_0002.c, which we _do_ already
use with non-CFI-compliant parts. 

CFI is just the _probe_ method. We can probe chips using the JEDEC
method too, and that works just fine -- jedec_probe.c will "invoke" the
appropriate command set driver.

Can't you do the same?

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




More information about the linux-mtd mailing list