浏览代码

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>
Jun Nie 7 年之前
父节点
当前提交
0ad564ffe7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c

+ 1 - 1
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));
   }