alistair23-linux/include/linux/mtd
Miquel Raynal a8c7ffdb5f mtd: nand: Introduce the ECC engine framework
Create a generic ECC engine framework. This is a base to instantiate ECC
engine objects.

If we really want to be generic, bindings must evolve, so here is the
new logic. The following three properties are mutually exclusive:
- The nand-no-ecc-engine boolean property is set and there is no
  ECC engine to retrieve.
- The nand-use-soft-ecc-engine boolean property is set and the core
  will force using the use of software correction.
- There is a nand-ecc-engine property pointing at a node which will
  act as ECC engine.

It the later case, the property may reference:
- The NAND chip node itself (for the on-die ECC case).
- The parent node if the NAND controller embeds an ECC engine.
- Any other node being an external ECC controller as well.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200827085208.16276-9-miquel.raynal@bootlin.com
2020-09-02 09:28:15 +02:00
..
bbm.h
blktrans.h
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h mtd: hyperbus: Replace HTTP links with HTTPS ones 2020-08-02 22:17:05 +02:00
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h
mtdram.h
nand-gpio.h
nand.h mtd: nand: Introduce the ECC engine framework 2020-09-02 09:28:15 +02:00
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h MTD: pfow.h: drop a duplicated word 2020-08-02 23:00:15 +02:00
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: Move the nand_ecc_algo enum to the generic NAND layer 2020-08-27 10:56:00 +02:00
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h
spinand.h
super.h
ubi.h
xip.h