diff options
author | Jun Nie <jun.nie@linaro.org> | 2017-06-29 17:02:05 +0800 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-06-29 16:54:58 +0100 |
commit | 0ad564ffe76f5a9286dd61a7b9e021e4b5cd0c0e (patch) | |
tree | f57e8fb611b5c29f8e07b8c75c98c239a3d5d4d8 /EmbeddedPkg | |
parent | 44f4ff62577ec8a23308cbe351029703b055c66d (diff) | |
download | edk2-0ad564ffe76f5a9286dd61a7b9e021e4b5cd0c0e.tar.gz edk2-0ad564ffe76f5a9286dd61a7b9e021e4b5cd0c0e.tar.bz2 edk2-0ad564ffe76f5a9286dd61a7b9e021e4b5cd0c0e.zip |
EmbeddedPkg/MmcDxe: Correct argument of ECSD read
The argument of CMD8 should be stuff bits according to standard
JESD84-A44.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r-- | EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c index 4ce0ddd03f..c28207e2a2 100644 --- a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c +++ b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c @@ -210,7 +210,7 @@ EmmcIdentificationMode ( }
// Fetch ECSD
- Status = Host->SendCommand (Host, MMC_CMD8, RCA);
+ Status = Host->SendCommand (Host, MMC_CMD8, 0);
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_ERROR, "EmmcIdentificationMode(): ECSD fetch error, Status=%r.\n", Status));
}
|