Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote on Thu, 7 May 2020 16:12:12 +0200: > Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> wrote on Thu, 7 May > 2020 13:49:59 +0200: > > > On Thu, 7 May 2020 13:00:30 +0200 > > Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > > > > > There are cases where ECC bytes are not byte-aligned. Indeed, BCH > > > implies using a number of ECC bits, which are not always a multiple of > > > 8. We then need a helper like nand_extract_bits() to extract these > > > syndromes from a buffer. > > > > Do you plan to send a patch to make the GPMI driver use this helper? > > I will have a look at it. https://lists.infradead.org/pipermail/linux-mtd/2020-May/095836.html Done :)