linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST
@ 2016-04-13 11:14 Rafał Miłecki
  2016-04-13 11:50 ` Boris Brezillon
  0 siblings, 1 reply; 2+ messages in thread
From: Rafał Miłecki @ 2016-04-13 11:14 UTC (permalink / raw)
  To: Boris Brezillon
  Cc: linux-mtd, Rafał Miłecki, Richard Weinberger,
	David Woodhouse, Brian Norris, open list

This driver doesn't seem to have any compile-time arch dependencies. I
was able to compile it on CONFIG_MIPS, CONFIG_ARM and CONFIG_X86_64.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
---
 drivers/mtd/nand/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index f05e0e9..6a9c917 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -89,7 +89,8 @@ config MTD_NAND_AMS_DELTA
 
 config MTD_NAND_OMAP2
 	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
-	depends on ARCH_OMAP2PLUS
+	depends on ARCH_OMAP2PLUS || COMPILE_TEST
+	depends on OF
 	help
           Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
 	  platforms.
-- 
1.8.4.5

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

* Re: [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST
  2016-04-13 11:14 [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST Rafał Miłecki
@ 2016-04-13 11:50 ` Boris Brezillon
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2016-04-13 11:50 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: linux-mtd, Richard Weinberger, David Woodhouse, Brian Norris,
	open list

On Wed, 13 Apr 2016 13:14:05 +0200
Rafał Miłecki <zajec5@gmail.com> wrote:

> This driver doesn't seem to have any compile-time arch dependencies. I
> was able to compile it on CONFIG_MIPS, CONFIG_ARM and CONFIG_X86_64.
> 
> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
> ---
>  drivers/mtd/nand/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index f05e0e9..6a9c917 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -89,7 +89,8 @@ config MTD_NAND_AMS_DELTA
>  
>  config MTD_NAND_OMAP2
>  	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
> -	depends on ARCH_OMAP2PLUS
> +	depends on ARCH_OMAP2PLUS || COMPILE_TEST

Is it working when HAS_DMA is not set?

> +	depends on OF
>  	help
>            Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
>  	  platforms.



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-04-13 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13 11:14 [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST Rafał Miłecki
2016-04-13 11:50 ` 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).