]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mtd: nand: Add Hisilicon machine dependency
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 2 May 2017 19:49:51 +0000 (16:49 -0300)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 15 May 2017 09:59:59 +0000 (11:59 +0200)
The Hisilicon 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>
drivers/mtd/nand/Kconfig

index c3029528063b8578e79746c51038d643631920b2..effe767fc3471ac029dbe94f4062ff31bcb29e30 100644 (file)
@@ -542,6 +542,7 @@ config MTD_NAND_SUNXI
 
 config MTD_NAND_HISI504
        tristate "Support for NAND controller on Hisilicon SoC Hip04"
+       depends on ARCH_HISI || COMPILE_TEST
        depends on HAS_DMA
        help
          Enables support for NAND controller on Hisilicon SoC Hip04.