From: Jun Nie Date: Thu, 29 Jun 2017 09:02:05 +0000 (+0800) Subject: EmbeddedPkg/MmcDxe: Correct argument of ECSD read X-Git-Tag: edk2-stable201903~3881 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0ad564ffe76f5a9286dd61a7b9e021e4b5cd0c0e;hp=44f4ff62577ec8a23308cbe351029703b055c66d 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 Reviewed-by: Leif Lindholm --- 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)); }