Browse Source

dw: mmc: Increase dma timeout when loading kernel image

Signed-off-by: Yuin Yee Chew <yuinyee.chew@linux.starfivetech.com>
Yuin Yee Chew 10 months ago
parent
commit
78e58f096c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Silicon/Synopsys/DesignWare/Drivers/DwEmmcDxe/DwEmmcDxe.c

+ 1 - 1
Silicon/Synopsys/DesignWare/Drivers/DwEmmcDxe/DwEmmcDxe.c

@@ -597,7 +597,7 @@ DwEmmcWaitDmaComplete (
   IN UINT32 read
   )
 {
-  UINT32 mask, Ctrl, timeout = 100000;
+  UINT32 mask, Ctrl, timeout = 1000000;
   EFI_STATUS ret = EFI_SUCCESS;
 
   if (read)