u-boot-brain/drivers/usb/host
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
..
dwc2.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dwc2.h usb: dwc2: disable erroneous overcurrent condition 2016-03-05 02:21:36 +01:00
dwc3-sti-glue.c sti: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
ehci-armada100.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
ehci-atmel.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-exynos.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-faraday.c dm: usb: Drop the EHCI weak functions 2015-04-18 11:11:24 -06:00
ehci-fsl.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ehci-generic.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ehci-hcd.c dm: usb: ehci: Implement get_max_xfer_size() operation 2017-09-27 12:12:22 +02:00
ehci-marvell.c dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
ehci-msm.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-mx5.c usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
ehci-mx6.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
ehci-mxc.c usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
ehci-mxs.c
ehci-omap.c
ehci-pci.c ehci-pci: Prepare for usage of readl()/writel() accessors 2017-06-05 13:42:09 +02:00
ehci-ppc4xx.c ehci-ppc4xx: Prepare for usage of readl()/writel() accessors 2017-04-25 12:50:13 +02:00
ehci-rmobile.c
ehci-spear.c usb: spear: Add support for both SPEAr600 EHCI controllers 2015-08-19 22:30:20 +02:00
ehci-sunxi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci-tegra.c dm: tegra: usb: Convert to livetree 2017-07-28 12:02:47 -06:00
ehci-vct.c
ehci-vf.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
ehci-zynq.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ehci.h usb: ehci: Fix accessors for big-endian platforms and descriptors 2017-11-26 02:22:36 +01:00
isp116x-hcd.c Remove some merge markers 2016-10-23 18:33:18 -04:00
isp116x.h
Kconfig usb: host: Move CONFIG_XHCI_FSL to Kconfig 2017-10-27 08:44:06 -07:00
Makefile usb: Drop the EHCI RCar Gen3 2017-10-04 08:50:43 +09:00
ohci-at91.c drivers: usb: ohci-at91: clean up the PLLB code 2016-02-18 21:34:41 +01:00
ohci-da8xx.c
ohci-ep93xx.c
ohci-generic.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ohci-hcd.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
ohci-lpc32xx.c usb: lpc32xx: add i2c DM support 2017-05-18 11:31:56 +02:00
ohci-sunxi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ohci.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
r8a66597-hcd.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
r8a66597.h usb: Update some EHCI driver licenses to use SPDX 2015-07-21 17:39:38 -06:00
sl811-hcd.c
sl811.h
usb-sandbox.c usb: sandbox: Fix emulator device select logic in usb_emul_find_devnum() 2017-10-01 16:32:50 +02:00
usb-uclass.c dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
utmi-armada100.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
xhci-dwc3.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xhci-exynos5.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xhci-fsl.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xhci-keystone.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
xhci-mem.c usb: xhci: Set 'Average TRB Length' to 8 for control endpoints 2017-10-01 16:32:55 +02:00
xhci-mvebu.c mvebu: usb: xhci: a38x support 2017-11-16 11:45:20 +01:00
xhci-omap.c arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks 2017-05-08 11:38:38 -04:00
xhci-pci.c usb: xhci-pci: Clean up the driver a little bit 2017-07-28 23:34:29 +02:00
xhci-ring.c usb: xhci: Correct command TRB 4th dword initialization 2017-07-28 23:34:15 +02:00
xhci-rockchip.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xhci-zynqmp.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
xhci.c usb: xhci: Set 'Average TRB Length' to 8 for control endpoints 2017-10-01 16:32:55 +02:00
xhci.h usb: xhci: Honor endpoint's interval 2017-10-01 16:32:54 +02:00