[PATCH 2/2] mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND

Huang Shijie b32955 at freescale.com
Wed Jul 25 01:58:50 EDT 2012


于 2012年07月25日 00:15, Fabio Estevam 写道:
> From: Fabio Estevam<fabio.estevam at 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 at 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





More information about the linux-mtd mailing list