mtd: nand: Let on-die ECC engines be retrieved from the NAND core
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Sep 2020 15:41:08 +0000 (17:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:30 +0000 (22:37 +0100)
commitda429b9615803b6f19e5734c4c4d99136e1e3bfd
tree79e73655c77b620cd016c45e7a18ef7b5343cb62
parent945845b54c9cf61809d1963492bb728ce8937964
mtd: nand: Let on-die ECC engines be retrieved from the NAND core

Before making use of the ECC engines, we must retrieve them. Add the
necessary boilerplate.

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