mtd: nand: Add Mediatek machine dependency
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Jul 13 10:59:10 PDT 2017
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6f9ad5f360e865cba263109cb186cb2e16dbdc8d
Commit: 6f9ad5f360e865cba263109cb186cb2e16dbdc8d
Parent: 7699f1e358ec60958a153e365901cb1e7ca62e93
Author: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
AuthorDate: Tue May 2 16:49:52 2017 -0300
Committer: Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Mon May 15 12:00:29 2017 +0200
mtd: nand: Add Mediatek machine dependency
The Mediatek NAND driver is only needed for a specific
platform, so avoid cluttering the configuration.
Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
drivers/mtd/nand/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index effe767..0bd2319 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -556,6 +556,7 @@ config MTD_NAND_QCOM
config MTD_NAND_MTK
tristate "Support for NAND controller on MTK SoCs"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
depends on HAS_DMA
help
Enables support for NAND controller on MTK SoCs.
More information about the linux-mtd-cvs
mailing list