Re: [PATCH v4 04/10] mtd: rawnand: stm32_fmc2: cleanup

From: Miquel Raynal
Date: Tue May 12 2020 - 02:59:31 EST


Hi Christophe,

Christophe Kerello <christophe.kerello@xxxxxx> wrote on Tue, 12 May
2020 08:49:54 +0200:

> Hi Miquel,
>
> On 5/11/20 10:39 PM, Miquel Raynal wrote:
> >
> > Christophe Kerello <christophe.kerello@xxxxxx> wrote on Wed, 6 May 2020
> > 11:11:13 +0200:
> >
> >> This patch renames functions and local variables.
> >> This cleanup is done to get all functions starting by stm32_fmc2_nfc
> >> in the FMC2 raw NAND driver when all functions will start by
> >> stm32_fmc2_ebi in the FMC2 EBI driver.
> >>
> >> Signed-off-by: Christophe Kerello <christophe.kerello@xxxxxx>
> >> Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
> >
> > Applied to nand/next as well but for an unknown reason I had to do it
> > by hand because the patch would not apply.
> >
> > Thanks,
> > MiquÃl
> >
> This is strange, I can apply this patch on my tree without any conflicts.
> There is a compilation issue line 1301.
>
> @@ -1302,44 +1298,45 @@ static void stm32_fmc2_write_data(struct nand_chip *chip, const void *buf,
>
> if (force_8bit && chip->options & NAND_BUSWIDTH_16)
> /* Reconfigure bus width to 16-bit */
> - stm32_fmc2_set_buswidth_16(fmc2, true);
> + stm32_fmc2_nfc_set_buswidth_16(nfc, true);
> }
>
> I will rebase on top of nand/next today to check that there is no issues with the driver.

I had to do some changes manually, maibe I missed this one, but I don't
remember touching this helper.

Anyway, I just dropped the two last patches of your series, please
reba&se now on nand/next and just resend patches 4 and 5.

Also, while at it, would you mind changing the commit title to
something more meaningful? "cleanup" is a bit vague and not very
accurate. Maybe something like "Cosmetic change to use nfc instead of
fmc2 where relevant".

Thanks,
MiquÃl