[PATCH] mtd: rawnand: mxc: Move the ECC engine initialization to the right place
Miquel Raynal
miquel.raynal at bootlin.com
Fri Oct 16 08:05:35 EDT 2020
Hi Fabio,
Fabio Estevam <festevam at gmail.com> wrote on Fri, 16 Oct 2020 08:45:08
-0300:
> Hi Miquel and Han,
>
> On Fri, Oct 16, 2020 at 8:32 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> > The LS1043A uses a different NAND controller and its driver is
> > drivers/mtd/nand/raw/fsl_ifc_nand.c
>
> Should we follow the same idea here and move the ECC initialization to
> fsl_ifc_attach_chip()?
>
> Does this patch help?
> https://pastebin.com/raw/xwHKXFmu
Definitely, yes!
I guess I will have to fix all the drivers doing part of the ECC
initialization in their probe function with the same logic. Hopefully
there are not so many...
Thanks,
Miquèl
More information about the linux-mtd
mailing list