mtd: spinand: Instantiate a SPI-NAND on-die ECC engine
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Sep 2020 15:41:07 +0000 (17:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:30 +0000 (22:37 +0100)
commit945845b54c9cf61809d1963492bb728ce8937964
tree3c28a78f520fd83306547fc94ac2991397c78998
parent55a1a71a7f5d9a85dbe9d2ab4d67208f49cba522
mtd: spinand: Instantiate a SPI-NAND on-die ECC engine

Make use of the existing functions taken from the SPI-NAND core to
instantiate an on-die ECC engine specific to the SPI-NAND core. The
next step will be to tweak the core to use this object instead of
calling the helpers directly.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200930154109.3922-4-miquel.raynal@bootlin.com
drivers/mtd/nand/spi/core.c
include/linux/mtd/spinand.h