commit | 3a2056719968c82fb0b5e079b47a146f68330879 | [log] [tgz] |
---|---|---|
author | Josh Wu <josh.wu@atmel.com> | Mon Jan 25 14:06:33 2016 +0800 |
committer | Andreas Bießmann <andreas.devel@googlemail.com> | Wed Jan 27 13:58:58 2016 +0100 |
tree | 552b3c1117c12a3f3868f5d1ffce26c9b50fac4d | |
parent | 75b03cf14ccbe2371cd11e410238fff0a02e72b5 [diff] |
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>