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

Alexander Belyakov abelyako at googlemail.com
Mon Jul 28 03:21:13 EDT 2008


On Tue, Jul 22, 2008 at 11:38 AM, Uwe Kleine-König
<Uwe.Kleine-Koenig at digi.com> 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.
>

As far as I know M29W128GL is only chip having troubles with 0xFF.
Even M29DW128GL works fine with that.

Writing 0xFF before 0xF0 works fine both M29W128GL, M29DW128GL and
Intel's flash (we have tried with M18). Not sure though if it would
work for *all* flash parts.

Thank you,
Alexander


More information about the linux-mtd mailing list