Commit ee70e5e7 authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal

mtd: rawnand: lpc32xx: Allow selection of these drivers when COMPILE_TEST=y

It just makes NAND maintainers' life easier by allowing them to
compile-test these drivers without having ARCH_LPC32XX enabled.

We also need to add a dependency on HAS_IOMEM to make sure the driver
compiles correctly.
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 18331b98
...@@ -297,7 +297,8 @@ config MTD_NAND_MARVELL ...@@ -297,7 +297,8 @@ config MTD_NAND_MARVELL
config MTD_NAND_SLC_LPC32XX config MTD_NAND_SLC_LPC32XX
tristate "NXP LPC32xx SLC Controller" tristate "NXP LPC32xx SLC Controller"
depends on ARCH_LPC32XX depends on ARCH_LPC32XX || COMPILE_TEST
depends on HAS_IOMEM
help help
Enables support for NXP's LPC32XX SLC (i.e. for Single Level Cell Enables support for NXP's LPC32XX SLC (i.e. for Single Level Cell
chips) NAND controller. This is the default for the PHYTEC 3250 chips) NAND controller. This is the default for the PHYTEC 3250
...@@ -308,7 +309,8 @@ config MTD_NAND_SLC_LPC32XX ...@@ -308,7 +309,8 @@ config MTD_NAND_SLC_LPC32XX
config MTD_NAND_MLC_LPC32XX config MTD_NAND_MLC_LPC32XX
tristate "NXP LPC32xx MLC Controller" tristate "NXP LPC32xx MLC Controller"
depends on ARCH_LPC32XX depends on ARCH_LPC32XX || COMPILE_TEST
depends on HAS_IOMEM
help help
Uses the LPC32XX MLC (i.e. for Multi Level Cell chips) NAND Uses the LPC32XX MLC (i.e. for Multi Level Cell chips) NAND
controller. This is the default for the WORK92105 controller controller. This is the default for the WORK92105 controller
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment