diff options
| author | Anton staaf <[email protected]> | 2011-11-10 11:56:50 +0000 |
|---|---|---|
| committer | Andy Fleming <[email protected]> | 2011-11-12 15:39:29 -0600 |
| commit | 5a762e2509a2d4b2e86168a2ffbc425087ecd75c (patch) | |
| tree | ab7b84c2789f53550d7051c654f961513d67256b /common | |
| parent | 8e42f0d62b9ee5ff5d3b2ddda16d98d5c792719c (diff) | |
Tegra2: mmc: Support DMA restarts at buffer boundaries
Currently if a DMA buffer straddles a buffer alignment boundary
(512KiB) then the DMA engine will pause and generate a DMA
interrupt. Since the DMA interrupt is not enabled it will hang
the MMC driver.
This patch adds support for restarting the DMA transfer. The
SYSTEM_ADDRESS register contains the next address that would have
been read/written when a boundary is hit. So we can read that
and write it back. The write triggers the resumption of the
transfer.
Signed-off-by: Anton Staaf <[email protected]>
Cc: Andy Fleming <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Albert Aribaud <[email protected]>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions
