]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: imx: new Kconfig symbol and feature test macro for DMA on mx1 and mx2
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 14 Jun 2010 15:56:52 +0000 (17:56 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 30 Jun 2010 06:59:58 +0000 (08:59 +0200)
commit9f72ffedc8409b9c9cbe17a9f66c2982baa4ff52
treef996492cf0eebe5bb6f164776db25865c7ab8991
parente780d2392dd37fcc231d97400c1cdd8d261ed556
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>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/dma-v1.c [moved from arch/arm/plat-mxc/dma-mx1-mx2.c with 99% similarity]
arch/arm/mach-imx/include/mach/dma-mx1-mx2.h [new file with mode: 0644]
arch/arm/mach-imx/include/mach/dma-v1.h [moved from arch/arm/plat-mxc/include/mach/dma-mx1-mx2.h with 93% similarity]
arch/arm/plat-mxc/Makefile