linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices
@ 2016-08-24  9:25 Roger Quadros
  2016-08-26  7:47 ` Boris Brezillon
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Quadros @ 2016-08-24  9:25 UTC (permalink / raw)
  To: boris.brezillon
  Cc: computersforpeace, fcooper, tony, linux-mtd, linux-omap,
	linux-kernel, Roger Quadros

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(-)

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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices
  2016-08-24  9:25 [PATCH] mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices Roger Quadros
@ 2016-08-26  7:47 ` Boris Brezillon
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2016-08-26  7:47 UTC (permalink / raw)
  To: Roger Quadros
  Cc: computersforpeace, fcooper, tony, linux-mtd, linux-omap,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-26  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-24  9:25 [PATCH] mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices Roger Quadros
2016-08-26  7:47 ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).