diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2017-05-02 22:49:52 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-05-15 13:00:29 +0300 |
commit | 6f9ad5f360e865cba263109cb186cb2e16dbdc8d (patch) | |
tree | 20b8e799c9c3a78192ef11164c50584414708111 /drivers/mtd/nand/Kconfig | |
parent | 7699f1e358ec60958a153e365901cb1e7ca62e93 (diff) | |
download | linux-6f9ad5f360e865cba263109cb186cb2e16dbdc8d.tar.xz |
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@vanguardiasur.com.ar>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index effe767fc347..0bd2319d3035 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. |