]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: Let software ECC engines be retrieved from the NAND core
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Sep 2020 23:01:24 +0000 (01:01 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:30 +0000 (22:37 +0100)
commit53fbdeeb57a0168a88547e22f8d433810c531169
tree36ca814f0519757ac5bf1b571132b5786680baef
parent35fe1b98a0082ad3f576bcc420c74dab435da307
mtd: nand: Let software ECC engines be retrieved from the NAND core

Before making use of the ECC engines, we must retrieve them. Add the
boilerplate for the ones already available: software engines (Hamming
and BCH).

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200929230124.31491-21-miquel.raynal@bootlin.com
drivers/mtd/nand/ecc.c
include/linux/mtd/nand.h