summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/Kconfig
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2022-04-24 06:25:23 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-04-27 19:12:35 +0300
commit4fd62f15afa0d0da4823f429a2fb4c3492a84edf (patch)
tree0fbeda826263f0626aabbed36b7a31d24ea2e67b /drivers/mtd/nand/raw/Kconfig
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-4fd62f15afa0d0da4823f429a2fb4c3492a84edf.tar.xz
mtd: nand: make mtk_ecc.c a separated module
this code will be used in mediatek snfi spi-mem controller with pipelined ECC engine. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220424032527.673605-2-gch981213@gmail.com
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 9b078e78f3fa..8b6d7a515445 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -374,6 +374,7 @@ config MTD_NAND_QCOM
config MTD_NAND_MTK
tristate "MTK NAND controller"
+ depends on MTD_NAND_ECC_MEDIATEK
depends on ARCH_MEDIATEK || COMPILE_TEST
depends on HAS_IOMEM
help