summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/Kconfig
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-05 11:45:08 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-18 09:34:18 +0200
commit434bc2e148aa5a6052cbc038f485fa3284a477d0 (patch)
treecd4099a3522b53a5df5c9a56ddb0e949191e6d77 /drivers/mtd/nand/raw/Kconfig
parentc03f3cf37e54fee8c04c531dae1c81ebc8f58723 (diff)
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>
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index af0b3cd51c82..3565dc06593f 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -443,7 +443,8 @@ config MTD_NAND_VF610_NFC
config MTD_NAND_MXC
tristate "MXC NAND support"
- depends on ARCH_MXC
+ depends on ARCH_MXC || COMPILE_TEST
+ depends on HAS_IOMEM
help
This enables the driver for the NAND flash controller on the
MXC processors.