]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit70b072550a59e787b46030ab104ac64e25fcc732
tree41e3b0ffe47a5e134342625217d8a08c1531e4d6
parentfecb8865def541ff38f59ef3caf0cbd09f4fc9fd
[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