summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/elm.c
diff options
context:
space:
mode:
authorPhilip Avinash <avinashphilip@ti.com>2013-01-04 13:26:49 +0530
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 09:26:29 +0200
commitc3e4b995e47e8f72297779852907f6d3ecd75139 (patch)
tree04e8e4dc014f8d14a2fac95f83fa87f26e61ffd4 /drivers/mtd/devices/elm.c
parenta8459f21ed48fc366ad49ce9828f6bbb1cfac9a9 (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>
Diffstat (limited to 'drivers/mtd/devices/elm.c')
0 files changed, 0 insertions, 0 deletions