WSL2-Linux-Kernel/drivers/mtd/nand/raw
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
..
atmel mtd: rawnand: atmel: Check return values for nand_read_data_op 2020-09-30 16:44:17 +02:00
bcm47xxnflash mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
brcmnand mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
gpmi-nand mtd: rawnand: gpmi: Simplify with dev_err_probe() 2020-09-30 16:44:17 +02:00
ingenic mtd: rawnand: Use the ECC framework OOB layouts 2020-09-30 16:43:52 +02:00
Kconfig mtd: rawnand: Make use of the ECC framework 2020-09-28 15:59:49 +02:00
Makefile
ams-delta.c mtd: rawnand: ams-delta: Fix non-OF build warning 2020-09-30 16:44:17 +02:00
arasan-nand-controller.c mtd: rawnand: Use the ECC framework OOB layouts 2020-09-30 16:43:52 +02:00
au1550nd.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
cadence-nand-controller.c mtd: rawnand: cadence: remove a redundant dev_err call 2020-09-30 16:44:17 +02:00
cafe_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
cs553x_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
davinci_nand.c mtd: rawnand: Use the ECC framework OOB layouts 2020-09-30 16:43:52 +02:00
denali.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
denali.h
denali_dt.c
denali_pci.c mtd: rawnand: Use the NAND framework user_conf object for ECC flags 2020-09-30 16:44:15 +02:00
diskonchip.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
fsl_elbc_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
fsl_ifc_nand.c mtd: rawnand: ifc: Move the ECC engine initialization to the right place 2020-10-26 18:44:31 +01:00
fsl_upm.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
fsmc_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
gpio.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
hisi504_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
internals.h
lpc32xx_mlc.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
lpc32xx_slc.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
marvell_nand.c mtd: rawnand: marvell: Fix and update kerneldoc 2020-09-30 16:44:17 +02:00
meson_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
mpc5121_nfc.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
mtk_ecc.c
mtk_ecc.h
mtk_nand.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
mxc_nand.c mtd: rawnand: mxc: Move the ECC engine initialization to the right place 2020-10-26 18:44:14 +01:00
mxic_nand.c
nand_amd.c
nand_base.c mtd: rawnand: Don't overwrite the error code from nand_set_ecc_soft_ops() 2020-09-30 16:44:17 +02:00
nand_bbt.c
nand_bch.c mtd: rawnand: Use the ECC framework OOB layouts 2020-09-30 16:43:52 +02:00
nand_ecc.c
nand_esmt.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_hynix.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_ids.c
nand_jedec.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_legacy.c
nand_macronix.c
nand_micron.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_onfi.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_samsung.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_timings.c
nand_toshiba.c mtd: rawnand: Use the ECC framework OOB layouts 2020-09-30 16:43:52 +02:00
nandsim.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
ndfc.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
omap2.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
omap_elm.c
orion_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
oxnas_nand.c mtd: rawnand: oxnas: cleanup/simplify code 2020-09-30 16:44:16 +02:00
pasemi_nand.c mtd: rawnand: pasemi: Make pasemi_device_ready() static 2020-09-30 16:44:16 +02:00
plat_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
qcom_nandc.c mtd: rawnand: qcom: Simplify with dev_err_probe() 2020-09-30 16:44:17 +02:00
r852.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
r852.h
s3c2410.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
sh_flctl.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
sharpsl.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
sm_common.c
sm_common.h
socrates_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: fix broken ECC 2020-10-30 18:24:51 +01:00
sunxi_nand.c mtd: rawnand: Use the NAND framework user_conf object for ECC flags 2020-09-30 16:44:15 +02:00
tango_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
tegra_nand.c mtd: rawnand: Use the NAND framework user_conf object for ECC flags 2020-09-30 16:44:15 +02:00
tmio_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
txx9ndfmc.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
vf610_nfc.c mtd: rawnand: vf610: Remove unused function vf610_nfc_transfer_size() 2020-09-30 16:44:17 +02:00
xway_nand.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00