diff options
author | Ralf Rösch <[email protected]> | 2010-12-30 10:30:11 +0100 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2011-01-06 15:29:12 +0000 |
commit | 24ac9a94f9e21ea71d877b0c80867d625b68bec2 (patch) | |
tree | 425ee70445e5c8e43c04b927249b414c99f6fb50 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | e8953b7395089b917f30d0909f845664d5fafa4e (diff) |
mtd: txx9ndfmc: limit transfer bytes to 512 (ECC provides 6 bytes max)
See commit: c0cbfd0e81d879a950ba6f0df3f75ea30c5ab16e
Using __nand_correct_data() helper function, this driver can read 512
byte (with 6 byte ECC) at a time.
This is correct, but not more:
With NAND chips providing page sizes > 512 Bytes
chip->ecc.bytes are calculated > 6 in txx9ndfmc_nand_scan.
According the data sheet there are (only) 6 bytes ECC available.
After applying the patch a Hynix 512M*8 with 2KiB page size could be
successfully formatted and used with an ubifs file system.
Signed-off-by: Ralf Roesch <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Acked-by: Atsushi Nemoto <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions