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>
This commit is contained in:
Jun Nie 2017-06-29 17:02:05 +08:00 committed by Leif Lindholm
parent 44f4ff6257
commit 0ad564ffe7
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}