Skip to content

Commit 434bc2e

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: mxc: 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_MXC 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 c03f3cf commit 434bc2e

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
@@ -443,7 +443,8 @@ config MTD_NAND_VF610_NFC
443443

444444
config MTD_NAND_MXC
445445
tristate "MXC NAND support"
446-
depends on ARCH_MXC
446+
depends on ARCH_MXC || COMPILE_TEST
447+
depends on HAS_IOMEM
447448
help
448449
This enables the driver for the NAND flash controller on the
449450
MXC processors.

0 commit comments

Comments
 (0)