usb: cmd: Print actual packet size for super speed devices
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:50:07 +0000 (21:50 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:25 +0000 (23:34 +0200)
commit78abf14fc2ff577d0385f36fe91769d458fbc4a5
tree57cf2ee6e9c96299958b628741889ece37622b3b
parentcbb89ed026e761b58a2568fea7b98135abcefe21
usb: cmd: Print actual packet size for super speed devices

USB 3.0 defines bMaxPacketSize0 field in the device descriptor as
the exponent of 2, so let's print the calculated actual size.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
cmd/usb.c