From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AG47ELt/UKoJBugs39DzMOAFWt8SeeT6Wh4dhDOYILrOeb0ppUckOWqvB8V+vUlS9oc1xRXK9BzZQA== 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 Cc: star.zeng@intel.com, eric.dong@intel.com, michael.d.kinney@intel.com, liming.gao@intel.com, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, mengfanrong@huawei.com, huangdaode@hisilicon.com, waip23@126.com, Ming Huang 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: [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: , X-List-Received-Date: Thu, 22 Mar 2018 07:38:09 -0000 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