From: Roger Quadros Date: Wed, 24 Aug 2016 09:25:00 +0000 (+0300) Subject: mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1c317a5fa1662371648530ffe08dbc44c153f5d7;p=deliverable%2Flinux.git mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices Some Keystone devices (e.g. K2G) include a OMAP NAND IP. Allow the NAND driver to be usable for both Keystone and OMAP devices. Signed-off-by: Roger Quadros Signed-off-by: Boris Brezillon --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index b2ba9ef553bd..7b7a887b4709 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -88,11 +88,11 @@ config MTD_NAND_AMS_DELTA Support for NAND flash on Amstrad E3 (Delta). config MTD_NAND_OMAP2 - tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4" - depends on ARCH_OMAP2PLUS + tristate "NAND Flash device on OMAP2, OMAP3, OMAP4 and Keystone" + depends on (ARCH_OMAP2PLUS || ARCH_KEYSTONE) help - Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4 - platforms. + Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4 + and Keystone platforms. config MTD_NAND_OMAP_BCH depends on MTD_NAND_OMAP2