]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NOR] Fixup for incorrect CFI data in Spansion S29GL064/32N flash chips
authorTrent Piepho <tpiepho@freescale.com>
Mon, 31 Mar 2008 04:19:30 +0000 (21:19 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 20:17:27 +0000 (21:17 +0100)
commite27e74a462f4d0f3a51151ec95e28b7e0660d192
tree41e3b0ffe47a5e134342625217d8a08c1531e4d6
parentb66981a12172b94d50019f0912c8ce397489e973
[MTD] [NOR] Fixup for incorrect CFI data in Spansion S29GL064/32N flash chips

This is a known erratum confirmed by Spansion.  I have an errata document,
but I can't find a link to it anywhere on their site to include here.

Some of the S29GL064N chips report 64 sectors when they should report 128,
and some of S29GL032N chips report 127 sectors when they should report 63.

Note that when the chip dies are fixed by Spansion, they will still have
the same id.  The fix is done in such a way that it won't affect corrected
chips.

The fixups use the extended id made available by a previous patch.  Without
that, virtually all newer AMD/Spansion chips will have the same ID (0x227e)
and it's not possible to apply the fixup to the correct chips.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0002.c