Commit a3349377 authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: imx: gpmi-nand depends on mxs-dma

It is not currently possible to build the gpmi-nand driver without
also building the mxs-dma driver. Clarify this Kconfig and enable
both in the defconfig file so we can build it again with both enabled.

drivers/built-in.o: In function `gpmi_dma_filter':
clk-fixed-factor.c:(.text+0xafc18): undefined reference to `mxs_dma_is_apbh'
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
parent b434f5c9
...@@ -192,6 +192,7 @@ CONFIG_RTC_DRV_MC13XXX=y ...@@ -192,6 +192,7 @@ CONFIG_RTC_DRV_MC13XXX=y
CONFIG_RTC_DRV_MXC=y CONFIG_RTC_DRV_MXC=y
CONFIG_DMADEVICES=y CONFIG_DMADEVICES=y
CONFIG_IMX_SDMA=y CONFIG_IMX_SDMA=y
CONFIG_MXS_DMA=y
CONFIG_COMMON_CLK_DEBUG=y CONFIG_COMMON_CLK_DEBUG=y
# CONFIG_IOMMU_SUPPORT is not set # CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT2_FS=y CONFIG_EXT2_FS=y
......
...@@ -480,7 +480,7 @@ config MTD_NAND_NANDSIM ...@@ -480,7 +480,7 @@ config MTD_NAND_NANDSIM
config MTD_NAND_GPMI_NAND config MTD_NAND_GPMI_NAND
bool "GPMI NAND Flash Controller driver" bool "GPMI NAND Flash Controller driver"
depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) depends on MTD_NAND && MXS_DMA
help help
Enables NAND Flash support for IMX23 or IMX28. Enables NAND Flash support for IMX23 or IMX28.
The GPMI controller is very powerful, with the help of BCH The GPMI controller is very powerful, with the help of BCH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment