DaVinci: EDMA: Updating default queue handling
authorSandeep Paulraj <s-paulraj@ti.com>
Mon, 27 Jul 2009 13:57:07 +0000 (09:57 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 26 Aug 2009 08:55:49 +0000 (11:55 +0300)
commita0f0202e2a19d43d733e07cb435a3064324c2ba7
treebfe505df91d1434ad2afd83f3edb0eb75e6d13b3
parent10eef5a8a08d8be455ae5f9599b214c33ad52340
DaVinci: EDMA: Updating default queue handling

EDMA queues in DM365 are a little different than those
on other DaVinci's. On DM365 Q0 and Q1 have the larger
FIFO size. We want Q0 and Q1 to be used by codecs and
DVSDK demos.
MMC driver is the only driver which uses the flag
'EVENTQ_DEFAULT'. So MMC driver should be using Q2 instead of
Q1 on DM365.
This patch allows us to declare a "default queue" from
SOC specific code. If it is not declared then the EDMA
driver assumes a default of queue 1.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/dma.c
arch/arm/mach-davinci/include/mach/edma.h