Re: [U-Boot] [PATCH 4/5] usb: storage: Refactor to use max_xfer_blk from struct us_data

2017-09-07 Thread Stefan Roese
On 07.09.2017 15:13, Bin Meng wrote: This adds a new memeber max_xfer_blk in struct us_data to record the maximum number of transfer blocks for the storage device. It is set per HCD setting, and so far is to 65535 for EHCD and 20 for everything else. Signed-off-by: Bin Meng Tested-by: Stefan

[U-Boot] [PATCH 4/5] usb: storage: Refactor to use max_xfer_blk from struct us_data

2017-09-07 Thread Bin Meng
This adds a new memeber max_xfer_blk in struct us_data to record the maximum number of transfer blocks for the storage device. It is set per HCD setting, and so far is to 65535 for EHCD and 20 for everything else. Signed-off-by: Bin Meng --- common/usb_storage.c | 49 ++