summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPhilip Avinash <avinashphilip@ti.com>2013-01-04 11:56:49 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 11:26:29 +0400
commitc3e4b995e47e8f72297779852907f6d3ecd75139 (patch)
tree04e8e4dc014f8d14a2fac95f83fa87f26e61ffd4 /kernel
parenta8459f21ed48fc366ad49ce9828f6bbb1cfac9a9 (diff)
downloadlinux-c3e4b995e47e8f72297779852907f6d3ecd75139.tar.xz
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions