mtd: nand: Add OX820 NAND hardware dependency

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 12 18:59:04 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=de0b34455afd1204a3644c9eb25b0b3b0aeb2fe9
Commit:     de0b34455afd1204a3644c9eb25b0b3b0aeb2fe9
Parent:     4404d7d821c33ac8105f1d52deb60f736d7c6a06
Author:     Jean Delvare <jdelvare at suse.de>
AuthorDate: Mon Jan 9 11:58:14 2017 +0100
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Mon Jan 30 11:51:02 2017 +0100

    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 <jdelvare at suse.de>
    Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support")
    Cc: Rob Herring <robh at kernel.org>
    Cc: Neil Armstrong <narmstrong at baylibre.com>
    Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
    Cc: Richard Weinberger <richard at nod.at>
    Cc: David Woodhouse <dwmw2 at infradead.org>
    Cc: Brian Norris <computersforpeace at gmail.com>
    Cc: Marek Vasut <marek.vasut at gmail.com>
    Cc: Cyrille Pitchen <cyrille.pitchen at atmel.com>
    Acked-by: Marek Vasut <marek.vasut at gmail.com>
    Acked-by: Neil Armstrong <narmstrong at baylibre.com>
    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 c658545..6d4d567 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.



More information about the linux-mtd-cvs mailing list