# \[PATCH v2 04/36\] mtd: rawnand: Use the NAND core

- From: Miquel Raynal \<miquel.raynal@bootlin.com\>
- Date: 2019-03-04 22:30:40 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2019/03/8779145
- Thread: https://ratatoskr.run/linux-arm-kernel/2019/03/8779140/t.md

```text
Before introducing the generic ECC engine abstraction, we need to be
sure that raw NAND and SPI-NAND speak the same language: let's use the
generic NAND layer with the raw NAND part (the SPI-NAND one already
uses it).

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/raw/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index ebb8a3da9fa5..952dc50a8634 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -11,6 +11,7 @@ config MTD_NAND_ECC_SW_HAMMING_SMC
 
 menuconfig MTD_RAW_NAND
 	tristate "Raw/Parallel NAND Device Support"
+	select MTD_NAND_CORE
 	select MTD_NAND_ECC_SW_HAMMING
 	help
 	  This enables support for accessing all type of raw/parallel
-- 
2.19.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
