aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/pl330.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/pl330.c')
-rw-r--r--hw/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c
index 303f8b8f2c..b5d586b92b 100644
--- a/hw/dma/pl330.c
+++ b/hw/dma/pl330.c
@@ -1606,7 +1606,7 @@ static void pl330_realize(DeviceState *dev, Error **errp)
pl330_queue_init(&s->read_queue, s->rd_q_dep, s);
pl330_queue_init(&s->write_queue, s->wr_q_dep, s);
- pl330_fifo_init(&s->fifo, s->data_buffer_dep);
+ pl330_fifo_init(&s->fifo, s->data_width / 4 * s->data_buffer_dep);
}
static Property pl330_properties[] = {