summaryrefslogtreecommitdiff
path: root/utils/rk27utils
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-08-20 18:28:40 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-08-21 20:18:36 +0200
commit6d7734649dc2302f565098becddab0412f8e589e (patch)
treee0bb0fc978556e63bbcfaeccd0d7964d356ed48e /utils/rk27utils
parent8d2e4f9b7d33f2d086d6e6a555739ffe0f51ca9c (diff)
downloadrockbox-6d7734649dc2302f565098becddab0412f8e589e.tar.gz
rockbox-6d7734649dc2302f565098becddab0412f8e589e.zip
imx233: increase max dma transfer size
The old max dma transfer size was set to 2^15 because allowing values up to 2^16 would result in overflow of the transfer count in many places. This was a problem with the old register headers because the macros didn't make sure the result is contained in the bitmask of the field. The new macro do so 2^16 will actually end up being 0 which means 2^16 for the hardware. This is kind of hacky but it works and I prefer that this stays a power of two because setting it to 2^16-1 would be extremely weird. Change-Id: I9ce5661c477a79ab52efd5c573948e2353117804
Diffstat (limited to 'utils/rk27utils')
0 files changed, 0 insertions, 0 deletions