dma/pl330: Fix buffer depth
commita5ae7e3984d4bb624d6e8ec95c64fa272deb07fc
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Wed, 26 Feb 2014 17:20:08 +0000 (26 17:20 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 26 Feb 2014 17:20:08 +0000 (26 17:20 +0000)
treefce810051a614f9449c4f444c002a7ddcbbfb971
parent432a0a130e203e18656e54f59e817271bf1c078f
dma/pl330: Fix buffer depth

This is the product of the data-width and the depth arguments, I.e the
depth of the FIFO is in terms of data entries and not bytes (which is
what the original implementation was suggesting). Fix.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: c34de31031511538ccdb3164b48ee8a6a973ebd4.1393372019.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/dma/pl330.c