Skip to content

Commit b2d55fe

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: qcom: 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_QCOM 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 434bc2e commit b2d55fe

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
@@ -526,7 +526,8 @@ config MTD_NAND_HISI504
526526

527527
config MTD_NAND_QCOM
528528
tristate "Support for NAND on QCOM SoCs"
529-
depends on ARCH_QCOM
529+
depends on ARCH_QCOM || COMPILE_TEST
530+
depends on HAS_IOMEM
530531
help
531532
Enables support for NAND flash chips on SoCs containing the EBI2 NAND
532533
controller. This controller is found on IPQ806x SoC.

0 commit comments

Comments
 (0)