Bastian Hecht 6667a6d58e mtd: sh_flctl: Restructure the hardware ECC handling
There are multiple reasons for a rewrite:
 - a race exists: when _4ECCEND is set, _4ECCFA may become true too
   meanwhile, which is lost and a non-correctable error is treated as
   correctable.
 - the ECC statistics don't get properly propagated to the base code.
 - empty pages would get marked as corrupted

The rewrite resolves the issues and I hope it gives a more explicit
code flow structure.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-07-06 18:17:04 +01:00
..
2012-06-07 15:22:21 +03:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:25:19 +00:00
2012-05-13 23:03:36 -05:00
2012-01-09 18:26:21 +00:00
2012-06-01 20:06:59 +01:00
2012-05-07 20:29:50 +01:00
2011-09-11 15:02:13 +03:00
2012-07-06 18:17:02 +01:00
2011-09-11 15:02:14 +03:00
2012-03-27 00:24:14 +01:00
2012-01-09 18:26:21 +00:00