From patchwork Tue Jul 28 10:45:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11688909 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 53D87138C for ; Tue, 28 Jul 2020 10:45:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D15F20838 for ; Tue, 28 Jul 2020 10:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595933111; bh=zefyhpGvTLn3ZTB/hhE8xNDFfEGO8gcnjogC92IGGmo=; h=From:To:Cc:Subject:Date:List-ID:From; b=zlNDKpDHjaJyCtQPRUkhd8cqshj4hwC4soMsgE2ZrkP/nC/x9X3Qs9KaI4PhowGZe KgBdAsSXNdIlSl3QpVdcERcKa0F1oN8xIzP/FkteHquVjL6U68tD/fWccY67TwSfJV YUEvag8cn6cHbrMs+oPrTlf1id1aMJ941fsjA9Gk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728855AbgG1KpL (ORCPT ); Tue, 28 Jul 2020 06:45:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:58176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728566AbgG1KpK (ORCPT ); Tue, 28 Jul 2020 06:45:10 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 81CBF20775; Tue, 28 Jul 2020 10:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595933110; bh=zefyhpGvTLn3ZTB/hhE8xNDFfEGO8gcnjogC92IGGmo=; h=From:To:Cc:Subject:Date:From; b=ehGr5L2IoN2hIGtt08BR0qBSTQAlX0XQLoNjpouJEG/2s9PPQkLue8WT6c+hVBlsy FicpV9lYQhCEHcwxH3dhGhWocA+ZoMd9+3q4hMJHW4HX6VkNZbMtbPdkChY7+HJQr7 2Jimfepgp6atHfDTxsKnbRKaBj/BDpZzULEvCfg4= From: Krzysztof Kozlowski To: Thomas Bogendoerfer , Krzysztof Kozlowski , Paul Cercueil , "H. Nikolaus Schaller" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann Subject: [PATCH v4 1/2] memory: jz4780-nemc: Do not build by default Date: Tue, 28 Jul 2020 12:45:02 +0200 Message-Id: <20200728104503.23655-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Enabling the JZ4780_NEMC driver makes sense only for specific hardware - the Ingenic SoC architecture. It is not an essential driver for the SoC support so do not enable it by default. Signed-off-by: Krzysztof Kozlowski --- Changes since v3: 1. Just drop the default, don't touch depends 2. Drop second patch for MTD_NAND_JZ4780 Changes since v2: 1. MIPS -> MACH_INGENIC, as suggested by Arnd --- drivers/memory/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index f64106fa63b7..8072204bc21a 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -164,7 +164,6 @@ config FSL_IFC config JZ4780_NEMC bool "Ingenic JZ4780 SoC NEMC driver" - default y depends on MIPS || COMPILE_TEST depends on HAS_IOMEM && OF help