summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-06-04 16:30:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-21 16:08:19 +0200
commit94b3a02c31eebbaa647f1f5252052e4ccbd0b938 (patch)
treeb600600f1c5344a9a64594249b987f3caf63bc9d /drivers/memory
parentdt-bindings: memory: jz4780: Add compatible string for JZ4740 SoC (diff)
downloadlinux-94b3a02c31eebbaa647f1f5252052e4ccbd0b938.tar.xz
linux-94b3a02c31eebbaa647f1f5252052e4ccbd0b938.zip
memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780
Depending on MACH_JZ4780 prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Boris Brezillon <bbrezillon@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index 392ad4f5c570..dbdee02bb592 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -123,7 +123,7 @@ config FSL_IFC
config JZ4780_NEMC
bool "Ingenic JZ4780 SoC NEMC driver"
default y
- depends on MACH_JZ4780 || COMPILE_TEST
+ depends on MIPS || COMPILE_TEST
depends on HAS_IOMEM && OF
help
This driver is for the NAND/External Memory Controller (NEMC) in