[PATCH 27/61] ARM: imx: new Kconfig symbol and feature test macro for DMA on mx1 and mx2

Baruch Siach baruch at tkos.co.il
Tue Jun 29 02:04:52 EDT 2010


Hi Uwe,

Uwe Kleine-König <u.kleine-koenig <at> pengutronix.de> writes:
> 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 <at> pengutronix.de>

This commit breaks build of the (hopefully) soon to-be-merged mx2_camera driver.
This driver is for both mx25 and mx27. Since dma-mx1-mx2.h is now under the
non-mx25 mach-imx/ directory, mx25 build can't find this header.

The solution is either:

1. move mx25 to mach-imx/ as well, or

2. postpone the dma-mx1-mx2.h header move for now, and leave it under plat-mxc/

Any thoughts?

baruch




More information about the linux-arm-kernel mailing list