On 16 June 2016 at 04:35, Rajesh Bhagat <rajesh.bha...@nxp.com> wrote: > Performs code cleanup by making common function for usb_stor_read/ > usb_stor_write. Currently only difference in these fucntions is call > to usb_read_10/usb_write_10 scsi commands. > > Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com> > --- > Changes in v7: > - Moves unification of usb_read_10/usb_write_10 to other patch > > Changes in v6: > - Removes USB_STOR_OP_TYPE macro and adds __func__ in debug prints > - Unifies usb_read_10/usb_write_10 functions to usb_read_write_10 > > Changes in v5: > - Converts USB_STOR_OPERATION_FUNC macro to a function > - Corrects the multi line comment accroding to coding style > - Renames variable to dev to remove code duplication > > Changes in v4: > - Adds code to make common function for read/write > > common/usb_storage.c | 121 > ++++++++++++++------------------------------------- > 1 file changed, 32 insertions(+), 89 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot