|
@@ -3788,6 +3788,7 @@ int nand_scan_tail(struct mtd_info *mtd)
|
|
|
/* propagate ecc info to mtd_info */
|
|
|
mtd->ecclayout = chip->ecc.layout;
|
|
|
mtd->ecc_strength = chip->ecc.strength;
|
|
|
+ mtd->ecc_step_size = chip->ecc.size;
|
|
|
/*
|
|
|
* Initialize bitflip_threshold to its default prior scan_bbt() call.
|
|
|
* scan_bbt() might invoke mtd_read(), thus bitflip_threshold must be
|