Re: [PATCH 2/4] memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780

From: Boris Brezillon
Date: Fri Jan 18 2019 - 03:09:52 EST


On Thu, 17 Jan 2019 19:45:48 -0300
Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Boris Brezillon <bbrezillon@xxxxxxxxxx>

> ---
> drivers/memory/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
> index 2d91b00e3591..3d411575fcb6 100644
> --- a/drivers/memory/Kconfig
> +++ b/drivers/memory/Kconfig
> @@ -122,7 +122,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