From: Brian Norris Date: Thu, 19 Aug 2010 15:11:02 +0000 (-0700) Subject: mtd: nand: spansion S30MLxxxP support X-Git-Tag: v2.6.37-rc1~22^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2173bae81e17b710328bc877e7b9ade7f4b90064;p=pandora-kernel.git mtd: nand: spansion S30MLxxxP support Some Spansion chips have a method for determining eraseblock size that is incompatible with similar ID chips of other sizes. This implements some heuristic detection of these differences. This patch checks for a 5-byte ID with trailing zeros as well as a 512-byte page size to ensure that chips are not misdetected as the S30MLxxxP ORNAND series. [Tweaked by Artem a bit] Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed