diff options
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index c24c2bd664b9..aa6414ac1843 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -3295,6 +3295,8 @@ static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, | |||
3295 | chip->cellinfo = id_data[2]; | 3295 | chip->cellinfo = id_data[2]; |
3296 | chip->chipsize = (uint64_t)type->chipsize << 20; | 3296 | chip->chipsize = (uint64_t)type->chipsize << 20; |
3297 | chip->options |= type->options; | 3297 | chip->options |= type->options; |
3298 | chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); | ||
3299 | chip->ecc_step_ds = NAND_ECC_STEP(type); | ||
3298 | 3300 | ||
3299 | *busw = type->options & NAND_BUSWIDTH_16; | 3301 | *busw = type->options & NAND_BUSWIDTH_16; |
3300 | 3302 | ||