u-boot/drivers/usb
Alexey Brodkin 9829ce2ff2 usb: ehci: Fix accessors for big-endian platforms and descriptors
Commit 9000eddbae ("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 with endianess.

While at it replace cpu_to_be32() to be32_to_cpu() in readl() to
keep sane semantics.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Marek Vasut <marex@denx.de>
Reported-by: Vladimir Boroda <boroda@yahoo.com>
2017-11-26 02:22:36 +01:00
..
common treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dwc3 usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h> 2017-10-15 22:32:24 +09:00
emul dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
eth treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
gadget Merge git://git.denx.de/u-boot-sunxi 2017-10-05 08:26:36 -04:00
host usb: ehci: Fix accessors for big-endian platforms and descriptors 2017-11-26 02:22:36 +01:00
musb omap4: Drop redundant CONFIG_OMAP4430 symbol 2017-05-15 10:39:59 -04:00
musb-new Merge git://git.denx.de/u-boot-sunxi 2017-10-05 08:26:36 -04:00
phy treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: kbd: Set a default polling mechanism for USB keyboard 2017-09-27 12:12:23 +02:00