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> --- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 8d731d6c3e54..68bf8b2b45f6 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -120,8 +120,8 @@ config FSL_IFC config JZ4780_NEMC bool "Ingenic JZ4780 SoC NEMC driver" - default y - depends on MACH_JZ4780 + default MACH_JZ4780 + depends on MIPS || COMPILE_TEST help This driver is for the NAND/External Memory Controller (NEMC) in the Ingenic JZ4780. This controller is used to handle external -- 2.18.0