commit | 74ffc7cbb1d2d1f218b1bd67d1bd3cc1cba8aa79 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jul 19 21:51:12 2017 +0800 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:31 2017 +0200 |
tree | 31be16dbd8ebb77b4197dcff6c55e7bb76798302 | |
parent | 46c1d49330fe21b3f9d2f7577ee4268248e7b666 [diff] |
usb: hub: Translate USB 3.0 hub port status into old version USB 3.0 hub port status field has different bit positions from 2.0 hubs. Since U-Boot only understands the old version, translate the new one into the old one. Since we are going to add USB 3.0 hub support, this feature is only available with driver model USB. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>