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

2020-10-30 Thread Christophe Kerello
Hi Miquel, On 10/30/20 9:19 AM, Miquel Raynal wrote: Hi Christophe, Christophe Kerello wrote on Thu, 29 Oct 2020 17:38:12 +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

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

2020-10-30 Thread Miquel Raynal
Hi Christophe, Christophe Kerello wrote on Fri, 30 Oct 2020 09:31:25 +0100: > Hi Miquel, > > On 10/30/20 9:19 AM, Miquel Raynal wrote: > > Hi Christophe, > > > > Christophe Kerello wrote on Thu, 29 Oct > > 2020 17:38:12 +0100: > > > >> Since commit d7157ff49a5b ("mtd: rawnand: Use the ECC

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

2020-10-30 Thread Miquel Raynal
Hi Christophe, Christophe Kerello wrote on Thu, 29 Oct 2020 17:38:12 +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. > The def

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

2020-10-29 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. The default user configuration set in FMC2 driver is lost when rawnand_dt_init function is cal