Re: [U-Boot] [PATCH] usb: ehci: Fix accessors for big-endian platforms and descriptors

2017-11-17 Thread Marek Vasut
On 11/17/2017 02:26 PM, Alexey Brodkin wrote: > Commit 9000eddbae0d ("drivers/usb/ehci: Use platform-specific accessors") > broke USB 2.0 on big-endian platforms because for them writel/readl() > does automatic conversion of BE data to LE. > > Proper implementation requires to use "raw" variant

[U-Boot] [PATCH] usb: ehci: Fix accessors for big-endian platforms and descriptors

2017-11-17 Thread Alexey Brodkin
Commit 9000eddbae0d ("drivers/usb/ehci: Use platform-specific accessors") broke USB 2.0 on big-endian platforms because for them writel/readl() does automatic conversion of BE data to LE. Proper implementation requires to use "raw" variant of these accessors which read/write data without messing