From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5132221B02B8E for ; Thu, 29 Jun 2017 02:00:43 -0700 (PDT) Received: by mail-pg0-x234.google.com with SMTP id f127so44889551pgc.0 for ; Thu, 29 Jun 2017 02:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=rtXTGP4g7Nq5vrVuDydF5EI6oSzzJbDgAXhm6+ILKjs=; b=W61HRZ/Nj34RX+xrQxZZMMChNpTFdx9HPgfps9gCnm1kijPl2zJyx9IproaKKpJL0B gLZ9qVuVyCe5vUyVGezDn9ehNK3HHCtxg0NtaRK3Wu5K/y/nVKz9kkWA0WwyR+WB0BxA qwbc7lKKHhjaKz9UR65uF1KCWempRygZEwv/I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rtXTGP4g7Nq5vrVuDydF5EI6oSzzJbDgAXhm6+ILKjs=; b=ZeVI5qnkAVSesgH9YZ5GFAD8Qt7M3d5vBthDHk2hpQcfuLPnqMcgSItCX+1DBwJgCE gjRileLfNQF6l5vpE/PnakYBtzGijkHlAhKIFABF/xR5rfzwQwkoZvYsjLoCOZJnyDrE TrTFuN2rv1U5dcJyESuqMomKDwdw9afJ1SmhULJ0QuyBI7m6D4WBsvUY4Kt/EFqOJXu5 4KLwQ88uIDdFwhOeFI93kdxZDD70IckTk1mci/wYt87b3VlAafasctrfFPJ65JendnVK kkwpnucdpgH3rBTH8mu2xlZL6KrYo/33lPZMi/irEGWScjMUiJSzdRLq+IMOQnm10RhD fswQ== X-Gm-Message-State: AKS2vOzqnh+Os4vU+4BSKbrCdcM3tIL9N3uabJdyOuCmuLJZ9FyWBwh9 flawYezCi3ejoMHB X-Received: by 10.98.49.2 with SMTP id x2mr15144039pfx.48.1498726935457; Thu, 29 Jun 2017 02:02:15 -0700 (PDT) Received: from localhost.localdomain (60-249-20-69.HINET-IP.hinet.net. [60.249.20.69]) by smtp.gmail.com with ESMTPSA id k29sm7868640pfb.119.2017.06.29.02.02.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Jun 2017 02:02:14 -0700 (PDT) From: Jun Nie To: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, haojian.zhuang@linaro.org, edk2-devel@lists.01.org Cc: shawn.guo@linaro.org, jason.liu@linaro.org, Jun Nie Date: Thu, 29 Jun 2017 17:02:05 +0800 Message-Id: <1498726925-25860-1-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [PATCH] EmbeddedPkg/MmcDxe: Correct argument of ECSD read X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 09:00:43 -0000 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 --- EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c index 4ce0ddd..c28207e 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)); } -- 1.9.1