Skip to content

Commit d4de09e

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: nuc900: Allow selection of this driver when COMPILE_TEST=y
It just makes NAND maintainers' life easier by allowing them to compile-test this driver without having ARCH_W90X900 enabled. We also need to add a dependency on HAS_IOMEM to make sure the driver compiles correctly. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent b2d55fe commit d4de09e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/mtd/nand/raw/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ config MTD_NAND_SOCRATES
478478

479479
config MTD_NAND_NUC900
480480
tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards."
481-
depends on ARCH_W90X900
481+
depends on ARCH_W90X900 || COMPILE_TEST
482+
depends on HAS_IOMEM
482483
help
483484
This enables the driver for the NAND Flash on evaluation board based
484485
on w90p910 / NUC9xx.

0 commit comments

Comments
 (0)