]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: atmel_nand: use minimum ecc requirements of nand: ecc_{strength,step}_ds
authorJosh Wu <josh.wu@atmel.com>
Wed, 18 Sep 2013 05:58:48 +0000 (13:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:04 +0000 (16:27 -0700)
commitad00ca839b3c635781896e7052462af2fc64540c
tree6a48b4e6a082f5ae9e385a237ef02e7c576fb449
parentbc30af417c5b9b4d69d03bdc2b4f096ae216ac46
mtd: atmel_nand: use minimum ecc requirements of nand: ecc_{strength,step}_ds

Since ecc_{strength,step}_ds is introduced in nand_chip structure for
minimum ecc requirements. So we can use them directly and remove our
own get_onfi_ecc_param function.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/atmel_nand.c