public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Fabio Estevam <festevam@gmail.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
	Artem.Bityutskiy@linux.intel.com, b32955@freescale.com,
	linux-mtd@lists.infradead.org, kernel@pengutronix.de,
	shawn.guo@linaro.org, dwmw2@infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 2/3] mtd: nand: Let MTD_NAND_GPMI_NAND depend on MXS_DMA
Date: Fri, 3 Aug 2012 12:07:11 +0200	[thread overview]
Message-ID: <20120803100711.GC24458@pengutronix.de> (raw)
In-Reply-To: <1343215100-24005-2-git-send-email-festevam@gmail.com>

On Wed, Jul 25, 2012 at 08:18:19AM -0300, Fabio Estevam wrote:
> 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>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

As mentioned elsewhere in this thread: We should not select user visible
options, so this patch is the only thing we can do atm (apart from
'fixing the tools' as David mentioned, but this is out of scope for an
-rc kernel)

Additionally the imx_v6_v7_defconfig should be adjusted so that the gpmi
nand driver actually gets built.

Sascha

> ---
> 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
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  parent reply	other threads:[~2012-08-03 10:07 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 ` [PATCH v2 2/3] mtd: nand: Let MTD_NAND_GPMI_NAND depend on MXS_DMA Fabio Estevam
2012-07-26  2:27   ` Huang Shijie
2012-07-26 10:35     ` Fabio Estevam
2012-07-27  9:28   ` Richard Zhao
2012-08-03 10:07   ` Sascha Hauer [this message]
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=20120803100711.GC24458@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=Artem.Bityutskiy@linux.intel.com \
    --cc=b32955@freescale.com \
    --cc=dwmw2@infradead.org \
    --cc=fabio.estevam@freescale.com \
    --cc=festevam@gmail.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