linux-stable/drivers/mtd/nand
Christophe Kerello 9efac6ce7f mtd: rawnand: stm32_fmc2: fix broken ECC
Since commit d7157ff49a ("mtd: rawnand: Use the ECC framework user
input parsing bits"), ECC are broken in FMC2 driver in case of
nand-ecc-step-size and nand-ecc-strength are not set in the device tree.
To avoid this issue, the default settings are now set in
stm32_fmc2_nfc_attach_chip function.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Fixes: d7157ff49a ("mtd: rawnand: Use the ECC framework user input parsing bits")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1604064819-26861-1-git-send-email-christophe.kerello@st.com
2020-10-30 18:24:51 +01:00
..
onenand mtd: onenand: simplify the return expression of onenand_transfer_auto_oob 2020-09-30 16:44:17 +02:00
raw mtd: rawnand: stm32_fmc2: fix broken ECC 2020-10-30 18:24:51 +01:00
spi mtd: spinand: gigadevice: Add support for GD5F4GQ4xC 2020-09-30 16:44:16 +02:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-11-28 15:41:50 +01:00
core.c mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg 2019-04-08 10:21:08 +02:00
ecc.c mtd: nand: Introduce the ECC engine framework 2020-09-02 09:28:15 +02:00
Kconfig mtd: nand: Introduce the ECC engine framework 2020-09-02 09:28:15 +02:00
Makefile mtd: nand: Introduce the ECC engine framework 2020-09-02 09:28:15 +02:00