Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab99e110 authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal
Browse files

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: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Acked-by: default avatarPaul Burton <paul.burton@mips.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 72b77bb0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -122,7 +122,8 @@ config FSL_IFC
config JZ4780_NEMC
	bool "Ingenic JZ4780 SoC NEMC driver"
	default y
	depends on MACH_JZ4780
	depends on MACH_JZ4780 || COMPILE_TEST
	depends on HAS_IOMEM
	help
	  This driver is for the NAND/External Memory Controller (NEMC) in
	  the Ingenic JZ4780. This controller is used to handle external