aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_dma.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-22 01:57:42 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-22 01:57:42 +0000
commitd406647966365b4ea505ef290825b257c678e764 (patch)
tree22a1ecd8690c3c1efc5f38df79e23d17a34d1fea /hw/omap_dma.c
parent8706c3824f5b8f3c68db5fa39122a44b4f161e35 (diff)
Fix a bad comparison, spotted by Paul Brook.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4922 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap_dma.c')
-rw-r--r--hw/omap_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/omap_dma.c b/hw/omap_dma.c
index df4fb01c99..ba980df5e1 100644
--- a/hw/omap_dma.c
+++ b/hw/omap_dma.c
@@ -668,6 +668,9 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s *dma)
/* If the channel is async, update cpc */
if (!ch->sync && frames)
ch->cpc = a->dest & 0xffff;
+
+ /* TODO: if the destination port is IMIF or EMIFF, set the dirty
+ * bits on it. */
}
omap_dma_interrupts_update(s);