omap: sdma: Limit the secure reserve channel fix for omap3
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 18 Feb 2010 08:59:09 +0000 (08:59 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Feb 2010 18:57:40 +0000 (10:57 -0800)
commit35c0dc389d42c3d8c20ecdf0829fe9e935084b10
treed06c768d831dbcdee4894397cb00421d7c38b335
parent1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449
omap: sdma: Limit the secure reserve channel fix for omap3

The commit 'ba50ea7e' reserves DMA channels 0 and 1 on high
security devices, in order to avoid collision between kernel
dma transfers and ROM code dma transfers.

This fix is applicable only for OMAP3 so add an appropriate
check.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
CC: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
CC: Kevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c