diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-05 11:45:02 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 09:34:17 +0200 |
commit | 18331b98102925f17be13421e153b050b8df01d3 (patch) | |
tree | 4873460c326a9d7d68efa879bb20dc40c42ab641 /drivers/mtd/nand/raw/Kconfig | |
parent | mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers (diff) | |
download | linux-18331b98102925f17be13421e153b050b8df01d3.tar.xz linux-18331b98102925f17be13421e153b050b8df01d3.zip |
mtd: rawnand: sharpsl: 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_PXA 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/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 6a406f5b6b7f..59bafed9da17 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -249,7 +249,8 @@ config MTD_NAND_DOCG4 config MTD_NAND_SHARPSL tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" - depends on ARCH_PXA + depends on ARCH_PXA || COMPILE_TEST + depends on HAS_IOMEM config MTD_NAND_CAFE tristate "NAND support for OLPC CAFÉ chip" |