[U-Boot] [PATCH 2/5] dm: usb: xhci: Implement get_max_xfer_size() operation

Stefan Roese sr at denx.de
Thu Sep 7 13:21:50 UTC 2017


On 07.09.2017 15:13, Bin Meng wrote:
> xHCD allocates one segment which includes 64 TRBs for each endpoint
> and the last TRB in this segment is configured as a link TRB to form
> a TRB ring. Each TRB can transfer up to 64K bytes, however data
> buffers referenced by transfer TRBs shall not span 64KB boundaries.
> Hence the maximum number of TRBs we can use in one transfer is 62.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Tested-by: Stefan Roese <sr at denx.de>

Thank,
Stefan


More information about the U-Boot mailing list