From: Philip Avinash Date: Fri, 4 Jan 2013 07:56:49 +0000 (+0530) Subject: mtd: nand: omap2: Update nerrors using ecc.strength X-Git-Tag: v3.9-rc1~18^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e4b995e47e8f72297779852907f6d3ecd75139;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed