spi/davinci: Support DMA transfers larger than 65535 words
authorMichael Williamson <michael.williamson@criticallink.com>
Mon, 14 Mar 2011 15:49:02 +0000 (11:49 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 14 Mar 2011 19:17:04 +0000 (13:17 -0600)
commitb1178b21c6b9721a07fbd50762067a7c0ffa5a50
tree048252f10af96adfc09c562214b51b0f4b4e0cae
parentd09519e41a67eab22cc4566670431f9252b6786a
spi/davinci: Support DMA transfers larger than 65535 words

The current davinci SPI driver, in DMA mode, is limited to 65535
words for a single transfer.  Modify the driver by configuring a
3 dimensional EDMA transfer to support up to 65535x65535
words.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/davinci_spi.c