[PATCH 2/4] [RFC] [MTD] cfi_probe: remove Intel chip workaround

David Woodhouse dwmw2 at infradead.org
Fri Jul 25 09:52:19 EDT 2008


On Tue, 2008-07-22 at 09:38 +0200, Uwe Kleine-König wrote:
> For me this workaround breaks detection of a M29W128GL flash because it
> doesn't switch to CFI Query mode after writing 0xff.
> 
> This workaround was introduced in 2004 between v2.6.8-rc1 and
> v2.6.8-rc2 in CVS revision 1.77 of cfi_probe.c.  ("Send 0xFF to switch Intel
> chips back to read mode too. Some of them ignore 0xF0")
> 
> Alternatively writing 0xff *before* 0xf0 works with the M29W128GL.

That's probably what you should do then; your patch as it stands would
break Intel chips, wouldn't it?

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




More information about the linux-mtd mailing list