2020-09-04 17:11:29

by Alex Dewar

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Alex Dewar <[email protected]>
---
drivers/mtd/nand/onenand/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/onenand/Kconfig b/drivers/mtd/nand/onenand/Kconfig
index 1a0e65bc246e..e2272f07d500 100644
--- a/drivers/mtd/nand/onenand/Kconfig
+++ b/drivers/mtd/nand/onenand/Kconfig
@@ -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
--
2.28.0


2020-09-11 16:58:01

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] mtd: onenand: omap2: Allow for compile-testing on !ARM

On Fri, 2020-09-04 at 17:09:55 UTC, Alex Dewar wrote:
> There seems no particular reason for building on ARM only, so remove the
> restriction to increase test coverage.
>
> Build-tested on x86 with allyesconfig.
>
> Signed-off-by: Alex Dewar <[email protected]>

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

Miquel