From patchwork Thu Mar 22 07:44:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 132253 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp512454ljb; Thu, 22 Mar 2018 00:44:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELvl1VuhW46zGkmBbP5Y0cmzjlSYqfD1n+9mEd4coRvUJ+oUA5dySnXGNbLEeOF7JTxdNgOH X-Received: by 2002:a17:902:5204:: with SMTP id z4-v6mr24002555plh.385.1521704682439; Thu, 22 Mar 2018 00:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521704682; cv=none; d=google.com; s=arc-20160816; b=qqi67MWF33GYGpFHOkmYfhfXExHO4TnvMyE0RPRE4s8SB6KbAx1/+ZlsxP2AZxDngv g+6A+CQV18sn6ZDdAS5EbyTXsyWIfFa0D30vLSkOIbiQBY6PlfJbm1xt4dMpQxY+N+G8 wn72MmCI0bG2DODSWnkoj8KUznLkB6IRGtdeARbaS+ju0Q3jGIisvGsaTEqfhxsEg6gw lIAXgn5jlu4ekU1MHSkQN6bu4THvWAB+dwcaqBspNBU4ewjSUsiBJZDoS3IkhKaUDcS4 jx0Y20Uq5IF1YNj7Nze9ehKFGL6QmZNbL6hvSEhs8hTTd9fWsb0VRACwC8saVgI7rW+3 SXIg== 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=LPWWiWQ4Uabd5XBeyWceNp5Pixb0fr4ukCKGSpOhg4k=; b=xsxltnIvEz/PKzh7e67DEr79CBUGa+6mQ3PJTbaP5D2kFF3Xa9bDcYfKHnRtUfDxMX CKUvR+0HovULy9EZLRtvgKS4xhn+ERaMqWVkUTbDMYiLJezOFGXDTPgvZPyoFOnCy+D1 jJ6R3tjGuG5JCnyIOFgLitvJwbtcAYUcN2GNhmG+n8fvP9ourniERelI9NV+l09u6sBc U8C8rp5jOJfdPnuZ1h6Azi0Io4IWHOJu+2kt59uMT1NHBZAjWX4UcSf33q7QAweVbUaZ Pk0hOblbMbIZgRp1f1PFy0z7OVQIRPcq8Up4LZ/KhJq1kIq/EA5CusQMYf4pVo1ASSid Pp7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jt7PI88V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id m39-v6si5739778plg.151.2018.03.22.00.44.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 00:44:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jt7PI88V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 4686D22551BAF; Thu, 22 Mar 2018 00:38:10 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::244; helo=mail-pl0-x244.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (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 C483822551BA8 for ; Thu, 22 Mar 2018 00:38:08 -0700 (PDT) Received: by mail-pl0-x244.google.com with SMTP id k22-v6so4781231pls.6 for ; Thu, 22 Mar 2018 00:44:40 -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=j7p6957xkQK9tFfDH3yaNMrYuqrhFEL0bd7Xkmu2NYM=; b=jt7PI88V3HtOFe9ZGFZGr8fkilHnjwiB/CpVnmuUGJ8vNEiAXF3WykPcNLOgWWypvT gi2UKtbXgmYm3jVyiXTscy+M+HpL7IN9JCHefqqZmXhsRH7Avg+IfwPYof00DylGfZOp XEOnkuPcqjbbHk04ocMJy0Y/bf6A1TLXaE+FM= 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=j7p6957xkQK9tFfDH3yaNMrYuqrhFEL0bd7Xkmu2NYM=; b=EdfxWjnqrWdxqAISubksBn3yUXF1GQMvx6S+N1UpwRO+Ev33ypvr91yQo/+bxsqgDd xZt/QAswuOocJ7qhm9MzXCKEUuAaAfQB0lutErjmRHnWCK5JPFezixluDp3t5BvwwhcY JTiee3D8Vl2JhIMputMLkPDIHJiRD8Cl0mnoPnxMg2apIy5Aj1tt0F5YLaYrs3841Qks vXOvKRdBMmmmtd5j0M3Tu2kObNHeyY8xRNd+tP6BYLaeq3lQerxfSrzyMu1nVZYVT2IZ YChub2ye0KCjn0tdLx151k2lFzeTEUHw1BrSObLbwNdZ22M1qmZOUtL6VjSVz6+aay6i JkuA== X-Gm-Message-State: AElRT7Ggm2aVWvFfTRUqDCKa2A7zqCPHajR0FrZdgwTeP5XJpKct+jOE Fp7Dsvn+A0ZPIfkTod8nM+Hygw== X-Received: by 2002:a17:902:102c:: with SMTP id b41-v6mr19759853pla.39.1521704680072; Thu, 22 Mar 2018 00:44:40 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.100]) by smtp.gmail.com with ESMTPSA id c15sm12483456pfm.114.2018.03.22.00.44.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Mar 2018 00:44:39 -0700 (PDT) From: Ming Huang To: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org Date: Thu, 22 Mar 2018 15:44:25 +0800 Message-Id: <1521704666-54009-1-git-send-email-ming.huang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [MdeModulePkg/Usb v2 0/1] Calculating the count of blocks to transfer X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, wanghuiqiang@huawei.com, eric.dong@intel.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , leif.lindholm@linaro.org, mengfanrong@huawei.com, guoheyi@huawei.com, liming.gao@intel.com, michael.d.kinney@intel.com, waip23@126.com, star.zeng@intel.com, huangdaode@hisilicon.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Calculating the count of blocks to transfer by Evaluating block size to fix booting failed from USB issue in some platforms. Ming Huang (1): MdeModulePkg/Usb: Replace macro USB_BOOT_IO_BLOCKS MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 16 ++++++++++++---- MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.h | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel