From patchwork Thu Jun 29 09:02:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 106622 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp849026qge; Thu, 29 Jun 2017 02:02:17 -0700 (PDT) X-Received: by 10.98.72.194 with SMTP id q63mr15566893pfi.23.1498726937603; Thu, 29 Jun 2017 02:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498726937; cv=none; d=google.com; s=arc-20160816; b=ZW5Bl9XLoFhiczbLAmBRXPiOC7Y9qSPHLwlc7o9eNefICTCkmT68By4hm3uqEEnX82 Nj7faI57gsjJwmBWhivmE292nt6tiRPxQIr4lZd3FX67Y+dz/CApbv5oRr18KRXyj8IL Jyd6emQcAtQJxRs52qJg2jzL8K1hF6BdqnTqkU6L4DdhPftimbSxAsFClBbTV1vMgTP8 x/alqSthSn/bsD92AEc18ooZ1Rf0SukLDBMPbYLEB24m0hNHH4xXXp+seRj9WZx7SjqZ hTC7s2VsO6ftwwuJed9o97OO24hCOExUSxGNCecyhvYgwuYTcw5qQt+XsvB9NZs5g/4N MiCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=4Oh11fFSPUVQHhgrZfyIsiSeeZPyUz8PIzREiFwlP/8=; b=vklHwIWVhF1Mjlsz0RqZ82XUAX23zumm8n0uf4WE7QubbasAk/yrgbU8wFwY09h1ZM BNdWqLLMPb8mhPXI/yWa5SMQUy7Ay/SoFd/7p/Zo92WbBl4j+j5iLr0bg7Ii2tpThKsg KhqHdGAQq6kl16D/lXcjGnfdpyhQNRgLyxmw1G5azbs5FJBnOpx42uiPiY1ZdRnq+lcP P9ZS/YwPJGrZSjiv4WaKj6FMXXk7diFp/0hZWcvNi90mtuIortqcXoEsVnUAOjczl/T4 K7px2h11j+Y40AumjU+GUXip8FLyZ7aT6zq9W+JZQXKuR/wWWrrPwNpLgGEJY0k5xp+q knWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=W61HRZ/N; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k24si3309057pfk.283.2017.06.29.02.02.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jun 2017 02:02:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=W61HRZ/N; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 4050C21A00AD5; Thu, 29 Jun 2017 02:00:44 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 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: [edk2] [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: , Cc: jason.liu@linaro.org, shawn.guo@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm 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)); }