Skip to content

Commit 0beb487

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: brcmnand: 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 ARM, ARM64 or MIPS 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 ee70e5e commit 0beb487

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
@@ -354,7 +354,8 @@ config MTD_NAND_GPMI_NAND
354354

355355
config MTD_NAND_BRCMNAND
356356
tristate "Broadcom STB NAND controller"
357-
depends on ARM || ARM64 || MIPS
357+
depends on ARM || ARM64 || MIPS || COMPILE_TEST
358+
depends on HAS_IOMEM
358359
help
359360
Enables the Broadcom NAND controller driver. The controller was
360361
originally designed for Set-Top Box but is used on various BCM7xxx,

0 commit comments

Comments
 (0)