From: Paul Cercueil <paul@crapouillou.net>
Date: Tue, 4 Jun 2019 14:30:16 +0000 (+0200)
Subject: memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ffa7546283c4514cf372e53f16c9354fd9af7e3a;p=linux.git

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: Paul Burton <paul.burton@mips.com>
---

diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index 392ad4f5c5707..dbdee02bb5921 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