ARM: OMAP: Get available DMA channels from cmdline
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 24 Mar 2009 01:07:48 +0000 (18:07 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:51:20 +0000 (18:51 -0700)
commit2263f0222e836c7b2c144e0546a2701661e2f517
treef2438344e9caa2a8418fbb7e73e8377a53fe656d
parent7954763bb95fd484a76d1151b40956fe331d23b9
ARM: OMAP: Get available DMA channels from cmdline

This patch set up a cmdline option for omap dma for masking the
available channels. It is needed since the OMAP DMA is a system wide
resource and can be used by another software apart from the kernel.

To reserve the omap SDMA channels for kernel dma usage, use cmdline
bootarg "omap_dma_reserve_ch=". The valid range is 1 to 32.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Nishant Kamat <nskamat@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c