Re: [PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC

2020-10-30 Thread Miquel Raynal
On Fri, 2020-10-30 at 13:33:39 UTC, Christophe Kerello wrote: > Since commit d7157ff49a5b ("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,

Re: [PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC

2020-10-30 Thread Miquel Raynal
Hi Christophe, Christophe Kerello wrote on Fri, 30 Oct 2020 14:33:39 +0100: > Since commit d7157ff49a5b ("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

[PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC

2020-10-30 Thread Christophe Kerello
Since commit d7157ff49a5b ("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.