提交 ab99e110 编写于 作者: B Boris Brezillon 提交者: Miquel Raynal

memory: jz4780-nemc: Allow selection of this driver when COMPILE_TEST=y

It just makes maintainers' life easier by allowing them to compile-test
this driver without having MACH_JZ4780 enabled.

We also need to add a dependency on HAS_IOMEM to make sure the
driver compiles correctly.
Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
Acked-by: NPaul Burton <paul.burton@mips.com>
Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
上级 72b77bb0
...@@ -122,7 +122,8 @@ config FSL_IFC ...@@ -122,7 +122,8 @@ config FSL_IFC
config JZ4780_NEMC config JZ4780_NEMC
bool "Ingenic JZ4780 SoC NEMC driver" bool "Ingenic JZ4780 SoC NEMC driver"
default y default y
depends on MACH_JZ4780 depends on MACH_JZ4780 || COMPILE_TEST
depends on HAS_IOMEM
help help
This driver is for the NAND/External Memory Controller (NEMC) in This driver is for the NAND/External Memory Controller (NEMC) in
the Ingenic JZ4780. This controller is used to handle external the Ingenic JZ4780. This controller is used to handle external
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册