[RESEND PATCH v4 00/10] mtd: spinand: initial support of ecc engines

Miquel Raynal miquel.raynal at bootlin.com
Wed Oct 9 10:11:35 CEST 2024


Hi Simon, Mikhail,

sjg at chromium.org wrote on Tue, 8 Oct 2024 19:50:59 -0600:

> Hi Mikhail,
> 
> On Tue, 1 Oct 2024 at 14:45, Mikhail Kshevetskiy
> <mikhail.kshevetskiy at iopsys.eu> wrote:
> >
> > This patch series:
> >  * sync spinand driver code with linux-6.10
> >  * sync spinand flash support with linux-6.10
> >  * add initial support of ecc engines
> >
> > Up to now only software ecc is supported, but other engines can be add quite easily  
> 
> Is there a uclass for ECC?

Not that I am aware of. Indeed maybe a uclass for these engines might
make sense (maybe UCLASS_ECC_ENGINE). The uclass for them might be
simple enough just to match devices with drivers and drivers and perhaps
expose the few callbacks needed (like init/prepare/finish/cleanup).
Then in the NAND layer when looking for a suitable device you could do
a research by class ID.

Thanks,
Miquèl


More information about the U-Boot mailing list