aboutsummaryrefslogtreecommitdiff
path: root/Drivers
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-12-17 09:45:53 +0800
committerShawn Guo <shawn.guo@linaro.org>2017-12-17 10:18:31 +0800
commit5a72d9a08bff48a6a6d3440e17041fc5c60cec1d (patch)
tree01a357bbecaebc96e6a15dd775e638aa2b60249d /Drivers
parentacd487145b888f3a3f31181567c4878de777f8a3 (diff)
downloadOpenPlatformPkg-5a72d9a08bff48a6a6d3440e17041fc5c60cec1d.tar.gz
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>
Diffstat (limited to 'Drivers')
-rw-r--r--Drivers/SdMmc/DwMmcHcDxe/EmmcDevice.c2
1 files changed, 1 insertions, 1 deletions
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 @@ EmmcIdentification (
return Status;
}
- Timeout = 30;
+ Timeout = 100;
do {
Ocr = EMMC_CMD1_CAPACITY_GREATER_THAN_2GB;
Status = EmmcGetOcr (PassThru, Slot, &Ocr);