[PATCH 1/2] mtd: spi-nand: Add support for randomizer
Cheng Ming Lin
linchengming884 at gmail.com
Fri Aug 8 04:35:41 PDT 2025
Hi Miquel,
Miquel Raynal <miquel.raynal at bootlin.com> 於 2025年8月8日 週五 下午6:15寫道:
>
> Hi Cheng Ming,
>
> On 08/08/2025 at 17:55:02 +08, Cheng Ming Lin <linchengming884 at gmail.com> wrote:
>
> > From: Cheng Ming Lin <chengminglin at mxic.com.tw>
> >
> > Add randomizer operation support for user data scrambling.
> >
> > For more high-reliability concern, if subpage write not available with
> > hardware ECC and then to enable randomizer is recommended by default.
>
> Could we adopt a helper that allows to enable and disable the
> randomizer?
I understand the idea, but from the flash’s perspective, once the
randomizer is enabled, it’s generally not intended to be disabled. So I
feel that providing a disable option might not be meaningful in this
case.
>
> I have no use case in mind right now, but I feel like it would be a
> better approach.
>
> Thanks,
> Miquèl
Thanks,
Cheng Ming Lin
More information about the linux-mtd
mailing list