From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajesh Bhagat Date: Thu, 9 Jun 2016 12:02:30 +0530 Subject: [U-Boot] [PATCH v4 0/2] common: usb_storage : Implement logic to calculate optimal Message-ID: <1465453952-22586-1-git-send-email-rajesh.bhagat@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Performs code cleanup by making common function for usb_stor_read/write and implements the logic to calculate the optimal usb maximum trasfer blocks instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case of EHCI and other USB protocols respectively. Rajesh Bhagat (2): common: usb_storage: Make common function for usb_stor_read/usb_stor_write common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks common/usb_storage.c | 200 ++++++++++++++++++++++++++++----------------------- include/usb.h | 1 + 2 files changed, 110 insertions(+), 91 deletions(-) -- 2.6.2.198.g614a2ac