|
@@ -675,6 +675,9 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
|
|
|
|
|
|
if (set->ecc_layout != NULL)
|
|
if (set->ecc_layout != NULL)
|
|
chip->ecc.layout = set->ecc_layout;
|
|
chip->ecc.layout = set->ecc_layout;
|
|
|
|
+
|
|
|
|
+ if (set->disable_ecc)
|
|
|
|
+ chip->ecc.mode = NAND_ECC_NONE;
|
|
}
|
|
}
|
|
|
|
|
|
/* s3c2410_nand_update_chip
|
|
/* s3c2410_nand_update_chip
|