Skip to content
Commit 3a205671 authored by Josh Wu's avatar Josh Wu Committed by Andreas Bießmann
Browse files

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: default avatarJosh Wu <josh.wu@atmel.com>
Reviewed-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: default avatarWenyou Yang <wenyou.yang@atmel.com>
parent 75b03cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment