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::242; helo=mail-pl0-x242.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) (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 342E220954B8F for ; Thu, 15 Mar 2018 05:23:25 -0700 (PDT) Received: by mail-pl0-x242.google.com with SMTP id v9-v6so3621947plp.12 for ; Thu, 15 Mar 2018 05:29:49 -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=VPcVFGN9wucURi0Vb0URn1TZtJR4TMI3w0BIt+ywpfCqcpex2yKYlK3fWiHH0or16V WjUYJ10rCQ0YFapCKlywzwOwHfarpimgbc5oSyM456AVqKsgc08GwxBsBejU4O8i4tdQ K0NdLHBbAf7971XEDNQEU9XWgL62+FvL8Bh2w= 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=cdIHXOcDtOXKMQvKPree9cYtP8bgO5KuSqqfFZDGurzKfro494faePWmIDeVVccrj7 PP8ISIiXX9M1C4tunQTwk0Aygkzi0YY3V8gvH41DiyB6CYNJeRW8IyeY7e8RUm+bqF/2 wNoGIJIOOd0tFIyBPVm1ItxrI+s1zaRV0//oxI1XcLP2K3KuR1+w/Dw+xmBzu63sP2Ao LKA0ip/q9q3hbEnp33XfgeARW5iz749yMPA5vRjbpqordgSTA7YQy+NXsBlXEAT3+xuR eKr5wvNSLsMYji9COTsCu6ZjK5WyJp31K9otjXZdzLTCrvB9s/m8TYF6gM5TRGjSImni zsgA== X-Gm-Message-State: AElRT7FJRmL3fBJSPuY9YBZbfrlIc234CClSKS+eMJNNhjV7NMCV91SB 2auuneNfmtU3O7Sr6tUcVfGjQw== X-Google-Smtp-Source: AG47ELtG6ZJq3UKiBfVKFjDvcpm1M7FkG+cVe8PtXjwW1OQLxAdLI3BXni41gn0gsKC9rwR3eburJw== X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr7822023pld.247.1521116989110; Thu, 15 Mar 2018 05:29:49 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.100]) by smtp.gmail.com with ESMTPSA id h80sm10378689pfj.181.2018.03.15.05.29.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Mar 2018 05:29:48 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, star.zeng@intel.com, eric.dong@intel.com Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, liming.gao@intel.com, 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, 15 Mar 2018 20:29:39 +0800 Message-Id: <1521116980-120594-1-git-send-email-ming.huang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2 UsbMassStorageDxe v1 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, 15 Mar 2018 12:23:26 -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