diff options
author | Marek Vasut <marex@denx.de> | 2012-08-21 16:17:26 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:29 +0200 |
commit | 1375f044d96f31987b0f4d3feb1fb01205939f3b (patch) | |
tree | 18e48a18050299c64e7f526d93b40c476680a93b /drivers | |
parent | 615a4ad0f65cc6b4a70abf45b30c6e41b1485eea (diff) | |
download | u-boot-imx-1375f044d96f31987b0f4d3feb1fb01205939f3b.zip u-boot-imx-1375f044d96f31987b0f4d3feb1fb01205939f3b.tar.gz u-boot-imx-1375f044d96f31987b0f4d3feb1fb01205939f3b.tar.bz2 |
MX28: DMA: Prolong the DMA timeout
Load from SPI flash can create a long DMA chain, which can take long
time to transfer. Change the DMA timeout to roughly 10s to prevent
such long chains misreporting errors.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/apbh_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index ca5a32f..37a941c 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -526,7 +526,7 @@ static int mxs_dma_wait_complete(uint32_t timeout, unsigned int chan) */ int mxs_dma_go(int chan) { - uint32_t timeout = 10000; + uint32_t timeout = 10000000; int ret; LIST_HEAD(tmp_desc_list); |