diff mbox

mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices

Message ID 1472030700-16051-1-git-send-email-rogerq@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Roger Quadros Aug. 24, 2016, 9:25 a.m. UTC
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 <rogerq@ti.com>
---
 drivers/mtd/nand/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Boris BREZILLON Aug. 26, 2016, 7:47 a.m. UTC | #1
On Wed, 24 Aug 2016 12:25:00 +0300
Roger Quadros <rogerq@ti.com> wrote:

> 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 <rogerq@ti.com>

Applied.

Thanks,

Boris

> ---
>  drivers/mtd/nand/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index 21ff580..e6260df 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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 21ff580..e6260df 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