Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Boris Brezillon and committed by
Miquel Raynal
434bc2e1 c03f3cf3

+2 -1
+2 -1
drivers/mtd/nand/raw/Kconfig
··· 443 443 444 444 config MTD_NAND_MXC 445 445 tristate "MXC NAND support" 446 - depends on ARCH_MXC 446 + depends on ARCH_MXC || COMPILE_TEST 447 + depends on HAS_IOMEM 447 448 help 448 449 This enables the driver for the NAND flash controller on the 449 450 MXC processors.