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

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>

authored by

Boris Brezillon and committed by
Miquel Raynal
0beb4872 ee70e5e7

+2 -1
+2 -1
drivers/mtd/nand/raw/Kconfig
··· 354 354 355 355 config MTD_NAND_BRCMNAND 356 356 tristate "Broadcom STB NAND controller" 357 - depends on ARM || ARM64 || MIPS 357 + depends on ARM || ARM64 || MIPS || COMPILE_TEST 358 + depends on HAS_IOMEM 358 359 help 359 360 Enables the Broadcom NAND controller driver. The controller was 360 361 originally designed for Set-Top Box but is used on various BCM7xxx,