memory: jz4780-nemc: Allow selection of this driver when COMPILE_TEST=y
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 9 Jul 2018 20:09:45 +0000 (22:09 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Jul 2018 21:14:11 +0000 (23:14 +0200)
commitab99e11062c187533db08078ccae799faed8873e
treecf4c9a0c7a09e59e2631f40f449da29eb312daff
parent72b77bb018b3e913504fdb0a0612135e5391521e
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: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/memory/Kconfig