u-boot-brain/drivers/usb/host
Ilya Yanok 189a6956eb ehci-hcd: fix external buffer cache handling
Buffer coming from upper layers should be cacheline aligned/padded
to perform safe cache operations. For now we don't do bounce
buffering so getting unaligned buffer is an upper layer error.
We can't check if the buffer is properly padded with current
interface so just assume it is (consider changing with in the
future). The following changes are done:

1. Remove useless length alignment check. We get actual transfer
length not the size of the underlying buffer so it's perfectly
valid for it to be unaligned.
2. Move flush_dcache_range() out of while loop or it will
flush too much.
3. Don't try to fix buffer address before calling invalidate:
if it's unaligned it's an error anyway so let cache subsystem
cry about that.
4. Fix end buffer address to be cacheline aligned assuming upper
layer reserved enough space. This is potentially dangerous
operation so upper layers should be careful about that.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
2012-07-18 14:43:42 +02:00
..
ehci-armada100.c USB: Armada100: EHCI Driver for Armada100 SOCs 2012-03-19 00:08:26 +01:00
ehci-atmel.c ehci-atmel: fix compiler warning 2012-07-07 14:07:30 +02:00
ehci-core.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci-exynos.c EXYNOS: Add power Enable/Disable for USB-EHCI 2012-07-09 18:27:55 +02:00
ehci-fsl.c drivers/usb/host/ehci-fsl.c: Fix GCC 4.6 build warning 2011-11-11 07:49:01 -06:00
ehci-hcd.c ehci-hcd: fix external buffer cache handling 2012-07-18 14:43:42 +02:00
ehci-ixp4xx.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci-marvell.c orion5x: add USB host ehci-marvell support 2012-02-12 10:11:28 +01:00
ehci-mpc512x.c MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
ehci-mx5.c Coding Style cleanup 2011-12-19 12:03:40 +01:00
ehci-mx6.c USB: ehci-mx6: Fix broken IO access 2012-05-15 08:31:33 +02:00
ehci-mxc.c imx: usb: There is no such register 2012-05-15 08:31:34 +02:00
ehci-mxs.c Renamed mx28_register to mx28_register_32 to prepare for mx28_register_8 2012-03-26 23:09:24 +02:00
ehci-omap.c ehci-omap: Do not call dcache_off from omap_ehci_hcd_init 2012-07-18 14:43:14 +02:00
ehci-pci.c ehci-pci: Fix PCI EHCI driver for 36-bit 2011-06-25 09:53:10 +02:00
ehci-ppc4xx.c usb: Remove usb_dev_init() from ehci-ppc4xx.c 2010-11-26 21:24:57 +01:00
ehci-tegra.c tegra: usb: Fix device enumeration problem of USB1 2012-07-09 22:44:34 +02:00
ehci-vct.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci.h usb: Add support for txfifo threshold 2012-03-29 08:12:48 +02:00
isp116x-hcd.c usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
isp116x.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
Makefile USB: EXYNOS: Incorporate EHCI review comments 2012-07-09 18:27:54 +02:00
ohci-at91.c AT91: change includes from asm/arch/io.h to asm/io.h 2011-05-18 07:56:51 +02:00
ohci-hcd.c usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
ohci.h drivers/usb/host/ohci-hcd: rename readl/writel to ohci_readl/ohci_writel 2010-06-30 21:38:10 +02:00
r8a66597-hcd.c usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
r8a66597.h usb: r8a66597: Fix argument mistake of inl 2011-08-08 21:40:40 +02:00
s3c64xx-hcd.c s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx 2009-11-27 16:26:13 -06:00
sl811-hcd.c drivers/usb/host/sl811-hcd.c: Fix GCC 4.6 build warning 2011-12-02 00:14:21 +01:00
sl811.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
utmi-armada100.c USB: Armada100: Add UTMI PHY interface driver 2012-03-19 00:08:26 +01:00