public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: b32955@freescale.com
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
	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
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	[thread overview]
Message-ID: <1343215100-24005-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1343215100-24005-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@freescale.com>

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 <fabio.estevam@freescale.com>
---
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
-- 
1.7.1

  reply	other threads:[~2012-07-25 11:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25 11:18 [PATCH v2 1/3] mtd: nand: Include IMX6 in the list of supported SoCs Fabio Estevam
2012-07-25 11:18 ` Fabio Estevam [this message]
2012-07-26  2:27   ` [PATCH v2 2/3] mtd: nand: Let MTD_NAND_GPMI_NAND depend on MXS_DMA Huang Shijie
2012-07-26 10:35     ` Fabio Estevam
2012-07-27  9:28   ` Richard Zhao
2012-08-03 10:07   ` Sascha Hauer
2012-08-05  6:36     ` Dirk Behme
2012-07-25 11:18 ` [PATCH v2 3/3] ARM: imx_v6_v7_defconfig: Select MXS_DMA Fabio Estevam
2012-07-25 15:05   ` Huang Shijie
2012-07-25 15:23     ` Fabio Estevam
2012-07-26  2:24       ` Huang Shijie
2012-07-26  2:29         ` Dong Aisheng
2012-07-26 10:38           ` Fabio Estevam
2012-07-28 13:02             ` Shawn Guo
2012-07-26 10:45         ` David Woodhouse
2012-07-26 10:53         ` Fabio Estevam
2012-07-26 10:56           ` Huang Shijie
2012-07-26 11:08             ` Fabio Estevam
2012-07-26 11:32               ` Huang Shijie
2012-07-27  9:26                 ` Richard Zhao
2012-07-27  9:30                 ` Dirk Behme
2012-07-27 10:21                   ` Huang Shijie
2012-07-26 11:54               ` David Woodhouse
2012-08-03  8:40   ` Dirk Behme
2012-08-03  8:59     ` Huang Shijie
2012-07-27  9:30 ` [PATCH v2 1/3] mtd: nand: Include IMX6 in the list of supported SoCs Richard Zhao
2012-07-27 10:12   ` Huang Shijie
2012-08-17 15:52 ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343215100-24005-2-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=Artem.Bityutskiy@linux.intel.com \
    --cc=b32955@freescale.com \
    --cc=dwmw2@infradead.org \
    --cc=fabio.estevam@freescale.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=shawn.guo@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox