linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: rawnand: ingenic: Allow to compile test the new Ingenic driver
@ 2020-01-17 21:22 Miquel Raynal
  2020-02-13 15:59 ` Paul Cercueil
  0 siblings, 1 reply; 3+ messages in thread
From: Miquel Raynal @ 2020-01-17 21:22 UTC (permalink / raw)
  To: Harvey Hunt, Paul Cercueil
  Cc: Richard Weinberger, Miquel Raynal, linux-mtd,
	Vignesh Raghavendra, Tudor Ambarus

This driver has no arch-specific instructions so we should be able to
compile it with any compiler.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/raw/ingenic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig
index e30feb56b650..485abfa3f80b 100644
--- a/drivers/mtd/nand/raw/ingenic/Kconfig
+++ b/drivers/mtd/nand/raw/ingenic/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config MTD_NAND_JZ4780
 	tristate "JZ4780 NAND controller"
-	depends on JZ4780_NEMC
+	depends on JZ4780_NEMC || COMPILE_TEST
 	help
 	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
 	  based boards, using the BCH controller for hardware error correction.
-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2020-02-15  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 21:22 [PATCH] mtd: rawnand: ingenic: Allow to compile test the new Ingenic driver Miquel Raynal
2020-02-13 15:59 ` Paul Cercueil
2020-02-15  5:53   ` Miquel Raynal

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