diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-10-01 13:20:11 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-12-11 00:37:30 +0300 |
commit | 3d1f08b032dc4e168f3aefed1e07a63c3c080325 (patch) | |
tree | 96d7075ad6c54bf847b306e286ceaac931595216 /drivers/mtd/nand/spi/Kconfig | |
parent | 533af69cf1a2a6bff211d2abe44044980cc23602 (diff) | |
download | linux-3d1f08b032dc4e168f3aefed1e07a63c3c080325.tar.xz |
mtd: spinand: Use the external ECC engine logic
Now that all the logic is available in the NAND core, let's use it
from the SPI-NAND core. Right now there is no functional change as the
default ECC engine for SPI-NANDs is set to 'on-die', but user can now
use software correction if they want to by just setting the right
properties in the DT.
Also note that the OOB layout handling is removed from the SPI-NAND
core as each ECC engine is supposed to handle it by it's own; users
should not be aware of that.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201001102014.20100-4-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/spi/Kconfig')
-rw-r--r-- | drivers/mtd/nand/spi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/spi/Kconfig b/drivers/mtd/nand/spi/Kconfig index da89b250df7c..3d7649a2dd72 100644 --- a/drivers/mtd/nand/spi/Kconfig +++ b/drivers/mtd/nand/spi/Kconfig @@ -2,6 +2,7 @@ menuconfig MTD_SPI_NAND tristate "SPI NAND device Support" select MTD_NAND_CORE + select MTD_NAND_ECC depends on SPI_MASTER select SPI_MEM help |