diff options
author | Philip Avinash <avinashphilip@ti.com> | 2013-01-04 11:56:49 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 11:26:29 +0400 |
commit | c3e4b995e47e8f72297779852907f6d3ecd75139 (patch) | |
tree | 04e8e4dc014f8d14a2fac95f83fa87f26e61ffd4 /include/asm-generic/4level-fixup.h | |
parent | a8459f21ed48fc366ad49ce9828f6bbb1cfac9a9 (diff) | |
download | linux-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 'include/asm-generic/4level-fixup.h')
0 files changed, 0 insertions, 0 deletions