]> git.sur5r.net Git - u-boot/commit
mtd: nand: mxs check maximum ecc that platfrom supports
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 7 Sep 2015 08:12:11 +0000 (16:12 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 20 Sep 2015 07:59:54 +0000 (09:59 +0200)
commit168617c9b547c4b1b24e7b4ce7078aa35a99efd2
tree1ca9acc81b858cf1dc79adda25c473ad01dad40e
parent8e4ba5e0ff02fb7932cb4d9971f88c9a35a31902
mtd: nand: mxs check maximum ecc that platfrom supports

Check maximum ecc strength for each platfrom to avoid the calculated ecc
exceed the limitation.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Han Xu <b45815@freescale.com>
Tested-By: Tim Harvey <tharvey at gateworks.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
drivers/mtd/nand/mxs_nand.c