lkml.org 
[lkml]   [2018]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/4] memory: jz4780_nemc: Drop dependency on MACH_JZ4780, use COMPILE_TEST
Date
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>
---
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
\
 
 \ /
  Last update: 2018-08-22 19:31    [W:0.103 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site