diff options
author | Haojian Zhuang <haojian.zhuang@outlook.com> | 2016-07-22 09:10:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 09:10:03 +0800 |
commit | 537db644f7761f0d9a431b13f76ea951777dcad5 (patch) | |
tree | 7aa85d6b9b86278b7d099c026c7d10ee3e1397a9 | |
parent | db64042266ed377f4a6748232497de8e05d36e35 (diff) | |
parent | 372d6477761ef2fdb912f3546f38a69c49ab3112 (diff) | |
download | device_linaro_bootloader_OpenPlatformPkg-537db644f7761f0d9a431b13f76ea951777dcad5.tar.gz device_linaro_bootloader_OpenPlatformPkg-537db644f7761f0d9a431b13f76ea951777dcad5.tar.bz2 device_linaro_bootloader_OpenPlatformPkg-537db644f7761f0d9a431b13f76ea951777dcad5.zip |
Merge pull request #27 from hzhuang1/avoid_sd_hang
DwSdDxe: avoid sd hang
-rw-r--r-- | Drivers/Mmc/DwSdDxe/DwSdDxe.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Drivers/Mmc/DwSdDxe/DwSdDxe.c b/Drivers/Mmc/DwSdDxe/DwSdDxe.c index 3eb8b1e..eefc6c5 100644 --- a/Drivers/Mmc/DwSdDxe/DwSdDxe.c +++ b/Drivers/Mmc/DwSdDxe/DwSdDxe.c @@ -287,10 +287,6 @@ SendCommand ( MmioWrite32 (DWSD_RINTSTS, ~0); MmioWrite32 (DWSD_CMDARG, Argument); MicroSecondDelay(500); - // Wait until MMC is idle - do { - Data = MmioRead32 (DWSD_STATUS); - } while (Data & DWSD_STS_DATA_BUSY); MmioWrite32 (DWSD_CMD, MmcCmd); |