mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
615a4ad0f6
commit
1375f044d9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue