All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huang Shijie <b32955@freescale.com>
To: Fabio Estevam <festevam@gmail.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
Subject: Re: [PATCH 2/2] mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND
Date: Wed, 25 Jul 2012 13:58:50 +0800	[thread overview]
Message-ID: <500F8B1A.6070605@freescale.com> (raw)
In-Reply-To: <1343146515-18578-1-git-send-email-festevam@gmail.com>

于 2012年07月25日 00:15, Fabio Estevam 写道:
> From: Fabio Estevam<fabio.estevam@freescale.com>
>
> MTD_NAND_GPMI_NAND driver needs 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>
> ---
>   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 b40e172..2062ee9 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)
> +	select MXS_DMA
>           help
>   	 Enables NAND Flash support for IMX23/28/6.
>   	 The GPMI controller is very powerful, with the help of BCH
thanks, but please see this thread.

http://comments.gmane.org/gmane.linux.ports.arm.kernel/146232

Huang Shijie

  parent reply	other threads:[~2012-07-25  5:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 16:15 [PATCH 2/2] mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND Fabio Estevam
2012-07-24 16:15 ` [PATCH 1/2] mtd: nand: Include IMX6 in the list of supported SoCs Fabio Estevam
2012-07-25  5:58 ` Huang Shijie [this message]
2012-07-25 10:32   ` [PATCH 2/2] mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND Fabio Estevam
2012-07-25 10:38     ` Huang Shijie
2012-07-25 10:38       ` Fabio Estevam

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=500F8B1A.6070605@freescale.com \
    --to=b32955@freescale.com \
    --cc=Artem.Bityutskiy@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=fabio.estevam@freescale.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.