|
@@ -332,11 +332,7 @@ static int __devinit jz_nand_probe(struct platform_device *pdev)
|
|
chip->ecc.mode = NAND_ECC_HW_OOB_FIRST;
|
|
chip->ecc.mode = NAND_ECC_HW_OOB_FIRST;
|
|
chip->ecc.size = 512;
|
|
chip->ecc.size = 512;
|
|
chip->ecc.bytes = 9;
|
|
chip->ecc.bytes = 9;
|
|
- chip->ecc.strength = 2;
|
|
|
|
- /*
|
|
|
|
- * FIXME: ecc_strength value of 2 bits per 512 bytes of data is a
|
|
|
|
- * conservative guess, given 9 ecc bytes and reed-solomon alg.
|
|
|
|
- */
|
|
|
|
|
|
+ chip->ecc.strength = 4;
|
|
|
|
|
|
if (pdata)
|
|
if (pdata)
|
|
chip->ecc.layout = pdata->ecc_layout;
|
|
chip->ecc.layout = pdata->ecc_layout;
|