mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 18:58:18 +01:00
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 <robotboy@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Tested-by : Jaehoon Chung <jh80.chung@samsung.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> |
||
|---|---|---|
| .. | ||
| arm_pl180_mmci.c | ||
| arm_pl180_mmci.h | ||
| atmel_mci.c | ||
| atmel_mci.h | ||
| bfin_sdh.c | ||
| davinci_mmc.c | ||
| fsl_esdhc.c | ||
| gen_atmel_mci.c | ||
| Makefile | ||
| mmc.c | ||
| mmc_spi.c | ||
| mv_sdhci.c | ||
| mxcmmc.c | ||
| omap3_mmc.c | ||
| omap3_mmc.h | ||
| omap_hsmmc.c | ||
| pxa_mmc.c | ||
| pxa_mmc.h | ||
| s5p_mmc.c | ||
| sdhci.c | ||
| sh_mmcif.c | ||
| sh_mmcif.h | ||
| tegra2_mmc.c | ||
| tegra2_mmc.h | ||