diff options
author | Brian Norris <norris@broadcom.com> | 2010-08-19 11:11:02 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 18:27:11 -0400 |
commit | 2173bae81e17b710328bc877e7b9ade7f4b90064 (patch) | |
tree | 7d4faa0e19eebee2343954ea378471be10602abf /include/linux/mtd | |
parent | 12c8eb98de747ebc08404e3719c40abb405994e2 (diff) |
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 <norris@broadcom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions