From patchwork Wed Jul 25 11:18:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1236551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 13B80DFFCD for ; Wed, 25 Jul 2012 11:29:51 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1StzhB-0005C2-6t; Wed, 25 Jul 2012 11:24:01 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Stzbv-0003S4-38; Wed, 25 Jul 2012 11:18:40 +0000 Received: by ghbf11 with SMTP id f11so582753ghb.36 for ; Wed, 25 Jul 2012 04:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=PTDfMzYwQRATxPvzJL6NcFNa7yhbUp9HRH5k65ydsmQ=; b=Y4jGhQhUSj+BBuwhQyy3HchYUy0K6/C2lu/UHJwpV7VwGJLNHH5Uh5x87fB0pNZOu+ /hyMEWgewISTDmwVTdct2ZrYTmd5sEWwKKd5MLokZkmcyXiVcMaYAWEM/fE4gxeIPF9a himuoGEX6cv1xNWgKNgyi2ihZdLMWKX8V2pDcqQCswhbslDW0QxxjburmmP7zpO2sciz K9IVyULwZ7y5lAP0xTrwZsdccRFhCG5G4DB73E9OfA8O2/5p6ZcfksMtC1DigaqrNhdV 3bS1RXXg9sYu901hnAat65fGziIqNVuGrd0OPymFmzJ7NfXx9OghcV/mhpIgemBKctdU nxtQ== Received: by 10.236.76.234 with SMTP id b70mr12175713yhe.31.1343215111909; Wed, 25 Jul 2012 04:18:31 -0700 (PDT) Received: from localhost.localdomain ([201.82.136.222]) by mx.google.com with ESMTPS id a64sm35820697yhe.11.2012.07.25.04.18.29 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 04:18:31 -0700 (PDT) From: Fabio Estevam To: b32955@freescale.com Subject: [PATCH v2 2/3] mtd: nand: Let MTD_NAND_GPMI_NAND depend on MXS_DMA Date: Wed, 25 Jul 2012 08:18:19 -0300 Message-Id: <1343215100-24005-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1343215100-24005-1-git-send-email-festevam@gmail.com> References: <1343215100-24005-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , Artem.Bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org, kernel@pengutronix.de, shawn.guo@linaro.org, dwmw2@infradead.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam MTD_NAND_GPMI_NAND driver depends on MXS_DMA to be selected, otherwise the following error happens for imx_v6_v7_defconfig: drivers/built-in.o: In function `gpmi_dma_filter': clk-fixed-factor.c:(.text+0xb124c): undefined reference to `mxs_dma_is_apbh' make: *** [vmlinux] Error 1 Signed-off-by: Fabio Estevam Reviewed-by: Richard Zhao Acked-by: Sascha Hauer Acked-by: Dirk Behme --- Changes since v1: - Use 'depends' rather than 'select' drivers/mtd/nand/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index a5d8a1b..da52c7d 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -463,6 +463,7 @@ config MTD_NAND_NANDSIM config MTD_NAND_GPMI_NAND bool "GPMI NAND Flash Controller driver" depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) + depends on MXS_DMA help Enables NAND Flash support for IMX23, IMX28 or IMX6. The GPMI controller is very powerful, with the help of BCH