u-boot-brain/include/usb
Lukasz Majewski e0059eaef1 usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver
The Samsung's UDC driver is not anymore copying data from USB requests to
aligned internal buffers. Now it works directly in data allocated in the
upper layers like UMS, DFU, THOR.

This change is possible since those gadgets now must take care to allocate
buffers aligned to cache line (CONFIG_SYS_CACHELINE_SIZE).

This can be achieved by using DEFINE_CACHE_ALIGN_BUFFER() or
ALLOC_CACHE_ALIGN_BUFFER() macros. Those take care to allocate buffer
aligned to cache line in both starting address and its size.
Sometimes it is enough to just use memalign() with size being a
multiplication of cache line size.

Test condition
- test HW + measurement: Trats - Exynos4210 rev.1
- test HW Trats2 - Exynos4412 rev.1
400 MiB compressed rootfs image download with `thor 0 mmc 0`

Measurement:
Transmission speed: 27.04 MiB/s

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
2014-02-06 02:22:45 +01:00
..
designware_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
ehci-fsl.h powerpc/usb:Differentiate USB controller base address 2013-10-24 09:35:09 -07:00
fotg210.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fusbh200.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lin_gadget_compat.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xx_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
mv_udc.h usb: gadget: mv_udc: split mv_udc.h file 2013-10-20 23:46:36 +02:00
omap1510_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
pxa27x_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
s3c_udc.h usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver 2014-02-06 02:22:45 +01:00
udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
ulpi.h usb: ulpi: add indicator configuration function 2012-10-15 11:54:01 -07:00