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:
@@ -210,7 +210,7 @@ EmmcIdentificationMode (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch ECSD
|
// Fetch ECSD
|
||||||
Status = Host->SendCommand (Host, MMC_CMD8, RCA);
|
Status = Host->SendCommand (Host, MMC_CMD8, 0);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "EmmcIdentificationMode(): ECSD fetch error, Status=%r.\n", Status));
|
DEBUG ((EFI_D_ERROR, "EmmcIdentificationMode(): ECSD fetch error, Status=%r.\n", Status));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user