Skip to contentSkip to conversation

mtd: rawnand: marvell: Drop useless line

PATCH Applied Miquel Raynal 1 participant 2 messages Nov 13, 2020 – Nov 19, 2020

Subsystems (3)
lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

PATCH 1/1 mtd: rawnand: marvell: Drop useless line

The raw NAND core now declares the on host ECC engine being the default if none is provided in the DT. Drop this line doing exactly the same from the Marvell driver.

---
 drivers/mtd/nand/raw/marvell_nand.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/mtd/nand/raw/marvell_nand.c +0 -6
index f5ca2002d08e..42d4881d598d 100644
@@ -2678,12 +2678,6 @@ static int marvell_nand_chip_init(struct device *dev, struct marvell_nfc *nfc,
 	mtd = nand_to_mtd(chip);
 	mtd->dev.parent = dev;
 
-	/*
-	 * Default to HW ECC engine mode. If the nand-ecc-mode property is given
-	 * in the DT node, this entry will be overwritten in nand_scan_ident().
-	 */
-	chip->ecc.engine_type = NAND_ECC_ENGINE_TYPE_ON_HOST;
-
 	/*
 	 * Save a reference value for timing registers before
 	 * ->setup_interface() is called.
Signature · 6 lines
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
author maintainer Applied
#1 lore raw
Quoted 5 lines · Miquel Raynal

The raw NAND core now declares the on host ECC engine being the default if none is provided in the DT. Drop this line doing exactly the same from the Marvell driver.

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/