It just makes NAND maintainers' life easier by allowing them to compile-test this driver without having PLAT_ORION 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 at bootlin.com> --- drivers/mtd/nand/raw/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index b1934b415067..a28ffc4013b6 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -381,7 +381,8 @@ config MTD_NAND_PLATFORM config MTD_NAND_ORION tristate "NAND Flash support for Marvell Orion SoC" - depends on PLAT_ORION + depends on PLAT_ORION || COMPILE_TEST + depends on HAS_IOMEM help This enables the NAND flash controller on Orion machines. -- 2.14.1