From: Jean Delvare Date: Mon, 9 Jan 2017 10:58:14 +0000 (+0100) Subject: mtd: nand: Add OX820 NAND hardware dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de0b34455afd1204a3644c9eb25b0b3b0aeb2fe9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mtd: nand: Add OX820 NAND hardware dependency The oxnas NAND driver is only needed for a specific platform, do not propose it on other platforms unless build-testing. Signed-off-by: Jean Delvare Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support") Cc: Rob Herring Cc: Neil Armstrong Cc: Boris Brezillon Cc: Richard Weinberger Cc: David Woodhouse Cc: Brian Norris Cc: Marek Vasut Cc: Cyrille Pitchen Acked-by: Marek Vasut Acked-by: Neil Armstrong Signed-off-by: Boris Brezillon --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index c6585454f102..6d4d5672d1d8 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -426,6 +426,7 @@ config MTD_NAND_ORION config MTD_NAND_OXNAS tristate "NAND Flash support for Oxford Semiconductor SoC" + depends on ARCH_OXNAS || COMPILE_TEST depends on HAS_IOMEM help This enables the NAND flash controller on Oxford Semiconductor SoCs.