mtd: nand: Add Hisilicon machine dependency

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>
This commit is contained in:
Ezequiel Garcia 2017-05-02 16:49:51 -03:00 committed by Boris Brezillon
parent 2ea659a9ef
commit 7699f1e358
1 changed files with 1 additions and 0 deletions

View 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.