]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: get the ECC info from the parameter page for ONFI nand
authorHuang Shijie <b32955@freescale.com>
Fri, 17 May 2013 03:17:26 +0000 (11:17 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Aug 2013 18:10:10 +0000 (11:10 -0700)
commitd99650181057dfd5736427435e811f9db9402212
tree5765ae11c7961de43000938d2e6e0c485e0c2b23
parentac1380555cbbc0307ff0616cf1cc3d28a15935e4
mtd: get the ECC info from the parameter page for ONFI nand

From the ONFI spec, we can just get the ECC info from the @ecc_bits field of
the parameter page.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Reviewed-and-tested-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c