Drivers/DwMmcHcDxe: increase timeout for eMMC CMD1
The current timeout value is a bit short for the eMMC device on Poplar
board, which causes the eMMC fails to be identified.
Let's increase the timeout a bit to fix the failure seen on Poplar.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
diff --git a/Drivers/SdMmc/DwMmcHcDxe/EmmcDevice.c b/Drivers/SdMmc/DwMmcHcDxe/EmmcDevice.c
index c84e7f7..deeaba9 100644
--- a/Drivers/SdMmc/DwMmcHcDxe/EmmcDevice.c
+++ b/Drivers/SdMmc/DwMmcHcDxe/EmmcDevice.c
@@ -967,7 +967,7 @@
return Status;
}
- Timeout = 30;
+ Timeout = 100;
do {
Ocr = EMMC_CMD1_CAPACITY_GREATER_THAN_2GB;
Status = EmmcGetOcr (PassThru, Slot, &Ocr);