summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm365.c
diff options
context:
space:
mode:
authorSandeep Paulraj2009-07-27 15:57:07 +0200
committerKevin Hilman2009-08-26 10:55:49 +0200
commita0f0202e2a19d43d733e07cb435a3064324c2ba7 (patch)
treebfe505df91d1434ad2afd83f3edb0eb75e6d13b3 /arch/arm/mach-davinci/dm365.c
parentDaVinci: EDMA: Add queue 2 and 3 for DM365 and DM6467 (diff)
downloadkernel-qcow2-linux-a0f0202e2a19d43d733e07cb435a3064324c2ba7.tar.gz
kernel-qcow2-linux-a0f0202e2a19d43d733e07cb435a3064324c2ba7.tar.xz
kernel-qcow2-linux-a0f0202e2a19d43d733e07cb435a3064324c2ba7.zip
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>
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r--arch/arm/mach-davinci/dm365.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index f02bce8eeba4..aa3b0bbdda73 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -741,6 +741,7 @@ static struct edma_soc_info dm365_edma_info[] = {
.n_cc = 1,
.queue_tc_mapping = dm365_queue_tc_mapping,
.queue_priority_mapping = dm365_queue_priority_mapping,
+ .default_queue = EVENTQ_2,
},
};