aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-14 11:56:52 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 02:59:58 -0400
commit9f72ffedc8409b9c9cbe17a9f66c2982baa4ff52 (patch)
treef996492cf0eebe5bb6f164776db25865c7ab8991 /arch/arm/mach-imx/Kconfig
parente780d2392dd37fcc231d97400c1cdd8d261ed556 (diff)
ARM: imx: new Kconfig symbol and feature test macro for DMA on mx1 and mx2
This should be used instead of hard coding the corresponding platforms. The feature test macro is needed to support different SOCs in a single kernel image. While at it rename dma-mx1-mx2 to dma-v1 as mx25 doesn't use it and so the mx2 part is wrong and move the header to arch/arm/mach-imx. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 5edead235bd1..73c70af35fc8 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,7 +1,11 @@
1config IMX_HAVE_DMA_V1
2 bool
3
1if ARCH_MX1 4if ARCH_MX1
2 5
3config SOC_IMX1 6config SOC_IMX1
4 select CPU_ARM920T 7 select CPU_ARM920T
8 select IMX_HAVE_DMA_V1
5 select IMX_HAVE_IOMUX_V1 9 select IMX_HAVE_IOMUX_V1
6 bool 10 bool
7 11
@@ -27,12 +31,14 @@ if ARCH_MX2
27config SOC_IMX21 31config SOC_IMX21
28 select CPU_ARM926T 32 select CPU_ARM926T
29 select ARCH_MXC_AUDMUX_V1 33 select ARCH_MXC_AUDMUX_V1
34 select IMX_HAVE_DMA_V1
30 select IMX_HAVE_IOMUX_V1 35 select IMX_HAVE_IOMUX_V1
31 bool 36 bool
32 37
33config SOC_IMX27 38config SOC_IMX27
34 select CPU_ARM926T 39 select CPU_ARM926T
35 select ARCH_MXC_AUDMUX_V1 40 select ARCH_MXC_AUDMUX_V1
41 select IMX_HAVE_DMA_V1
36 select IMX_HAVE_IOMUX_V1 42 select IMX_HAVE_IOMUX_V1
37 bool 43 bool
38 44