commit | c3e4b995e47e8f72297779852907f6d3ecd75139 | [log] [tgz] |
---|---|---|
author | Philip Avinash <avinashphilip@ti.com> | Fri Jan 04 13:26:49 2013 +0530 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Mon Feb 04 09:26:29 2013 +0200 |
tree | 04e8e4dc014f8d14a2fac95f83fa87f26e61ffd4 | |
parent | a8459f21ed48fc366ad49ce9828f6bbb1cfac9a9 [diff] |
mtd: nand: omap2: Update nerrors using ecc.strength Remove check of ecc bytes with 13, number of errors can directly update from nand ecc strength. This will increase re-usability of the code. Also add macro definitions BCH8_ERROR_MAX & BCH4_ERROR_MAX for better readability and cleaner code. Signed-off-by: Philip Avinash <avinashphilip@ti.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>