memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780
authorPaul Cercueil <paul@crapouillou.net>
Tue, 4 Jun 2019 14:30:16 +0000 (16:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2019 14:08:19 +0000 (16:08 +0200)
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>
drivers/memory/Kconfig

index 392ad4f5c57070957ac0cfdc9f9b22997840bf37..dbdee02bb5921cd6638582c46062700360912963 100644 (file)
@@ -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