Hi Marek, On Sat, Jun 24, 2017 at 1:59 AM, Marek Vasut <ma...@denx.de> wrote: > On 06/23/2017 11:54 AM, Bin Meng wrote: >> 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. > > This is quite hairy. I'd rather see some protocol version agnostic flag > field rather than patching the wPortStatus and co. >
I am not sure how do do that in a clean way. If we return the raw 3.0 hub port status data, that means we need change lot of hub codes here and there to do different parsing. >> 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...@gmail.com> >> --- >> >> common/usb_hub.c | 33 ++++++++++++++++++++++++++++++++- >> 1 file changed, 32 insertions(+), 1 deletion(-) >> [snip] Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot