Re: [PATCH 2/3] UBI: Do not zero out EC and VID when multi-pass writes are not supported

From: Pratyush Yadav
Date: Tue Nov 03 2020 - 07:47:15 EST


On 03/11/20 12:59PM, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
> > Von: "Vignesh Raghavendra" <vigneshr@xxxxxx>
> >
> > You may want to get rid of assertion for mtd->writesize != 1 in case of
> > MTD_NORFLASH.
>
> Agreed. I hope nothing else breaks if NOR has suddenly a writesize >= 1.

Please see my response on the cover letter which explains why I think
setting mtd->writesize = nor->page_size is wrong.

--
Regards,
Pratyush Yadav
Texas Instruments India