]> git.dujemihanovic.xyz Git - u-boot.git/commit
atmel_nand: use nand ecc_{strength, step}_ds instead of our own function
authorJosh Wu <josh.wu@atmel.com>
Mon, 25 Jan 2016 06:06:33 +0000 (14:06 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Wed, 27 Jan 2016 12:58:58 +0000 (13:58 +0100)
commit3a2056719968c82fb0b5e079b47a146f68330879
tree552b3c1117c12a3f3868f5d1ffce26c9b50fac4d
parent75b03cf14ccbe2371cd11e410238fff0a02e72b5
atmel_nand: use nand ecc_{strength, step}_ds instead of our own function

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>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
drivers/mtd/nand/atmel_nand.c