From mboxrd@z Thu Jan 1 00:00:00 1970 From: Przemyslaw Marczak Date: Wed, 23 Oct 2013 14:30:41 +0200 Subject: [U-Boot] [PATCH v2 0/5] USB: UMS: code refactoring and usage improvement In-Reply-To: <1381929675-26165-1-git-send-email-p.marczak@samsung.com> References: <1381929675-26165-1-git-send-email-p.marczak@samsung.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Quick summary: - introduce board definable parameters: UMS_START_BLOCK and UMS_PART_SIZE - remove ums unnecessary code - move ums structures to just one generic ums structure - add mmc device num as one of ums parameter - fix ums capacity miscalculation - move ums initialization code to Samsung common - add function usb_cable_connected() which depends on CONFIG_USB_CABLE_CHECK - add ums exit feature by ctrl+c or cable detachment Thank you, Przemyslaw Marczak Przemyslaw Marczak (5): usb: ums: code refactoring to improve reusability on other boards. usb: ums: allows using every mmc device with ums. usb: ums: fix disk capacity miscalculation and code cleanup usb: ums: move ums code from trats to Samsung common directory usb: ums: add ums exit feature by ctrl+c or by detach usb cable README | 7 ++++ board/samsung/common/Makefile | 1 + board/samsung/common/ums.c | 76 +++++++++++++++++++++++++++++++++++ board/samsung/trats/trats.c | 62 ---------------------------- common/cmd_usb_mass_storage.c | 51 +++++++++++------------ drivers/usb/gadget/f_mass_storage.c | 67 +++++++++++++++++++----------- drivers/usb/gadget/storage_common.c | 27 ++----------- include/configs/trats.h | 2 - include/usb.h | 10 +++++ include/usb_mass_storage.h | 33 +++++++-------- 10 files changed, 180 insertions(+), 156 deletions(-) create mode 100644 board/samsung/common/ums.c -- 1.7.9.5