Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377771 > unrolled thread
| Started by | Rafał Miłecki <zajec5@gmail.com> |
|---|---|
| First post | 2016-04-13 13:20 +0200 |
| Last post | 2016-04-13 14:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST Rafał Miłecki <zajec5@gmail.com> - 2016-04-13 13:20 +0200
Re: [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-04-13 14:00 +0200
| From | Rafał Miłecki <zajec5@gmail.com> |
|---|---|
| Date | 2016-04-13 13:20 +0200 |
| Subject | [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST |
| Message-ID | <rnqZY-n3-15@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Date | 2016-04-13 14:00 +0200 |
| Message-ID | <rnrCG-Gd-35@gated-at.bofh.it> |
| In reply to | #1377771 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web