summaryrefslogtreecommitdiff
path: root/common/ddr_spd.c
diff options
context:
space:
mode:
authorDileep Katta <dileep.katta@linaro.org>2015-02-17 02:02:36 +0530
committerMarek Vasut <marex@denx.de>2015-02-25 17:47:02 +0100
commit9e4b510d40310bf46e09f4edd0a0b6356213df47 (patch)
tree5e4f0df82cc2fd763a493c9f06af6043e2ecfe3b /common/ddr_spd.c
parent7c23bcb93fd44026c737c0f102262f98b5a08ea9 (diff)
fastboot: OUT transaction length must be aligned to wMaxPacketSize
OUT transactions must be aligned to wMaxPacketSize for each transfer, or else transfer will not complete successfully. This patch modifies rx_bytes_expected to return a transfer length that is aligned to wMaxPacketSize. Note that the value of wMaxPacketSize and ep->maxpacket may not be the same value, and it is the value of wMaxPacketSize that should be used for alignment. wMaxPacketSize is passed depending on the speed of connection. Signed-off-by: Dileep Katta <dileep.katta@linaro.org> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'common/ddr_spd.c')
0 files changed, 0 insertions, 0 deletions