Skip to contentSkip to conversation

mtd: onenand: omap2: Allow for compile-testing on !ARM

PATCH Applied Alex Dewar 2 participants 2 messages Sep 4, 2020 – Sep 11, 2020

Subsystems (3)
lore
Share & tools
lore

Alex Dewar

author
#0 lore raw

PATCH 1/1 mtd: onenand: omap2: Allow for compile-testing on !ARM

There seems no particular reason for building on ARM only, so remove the restriction to increase test coverage.

Build-tested on x86 with allyesconfig.

---
 drivers/mtd/nand/onenand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/onenand/Kconfig +1 -1
index 1a0e65bc246e..e2272f07d500 100644
@@ -24,7 +24,7 @@ config MTD_ONENAND_GENERIC
 
 config MTD_ONENAND_OMAP2
 	tristate "OneNAND on OMAP2/OMAP3 support"
-	depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && ARM)
+	depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST
 	depends on OF || COMPILE_TEST
 	help
 	  Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC
Signature · 1 line
2.28.0
maintainer Applied
#1 lore raw
Quoted 6 lines · Alex Dewar

There seems no particular reason for building on ARM only, so remove the restriction to increase test coverage.

Build-tested on x86 with allyesconfig.

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

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