u-boot/drivers
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
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
dma DMA: Split the APBH DMA init into block and channel init 2012-04-16 14:53:59 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio GPIO: Add SPEAr GPIO driver 2012-07-07 14:07:42 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c mxs-i2c: Fix internal address byte order 2012-07-11 10:54:53 +02:00
input tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
misc pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
mmc FSL/eSDHC: enable the clock to detect the SD card 2012-07-13 17:04:50 -05:00
mtd MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00
net net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other 2012-07-10 10:12:03 -05:00
pci pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe drivers/qe/uec.c: Fix compile warning 2012-05-22 13:41:48 -05:00
rtc rtc/m41t62: Add support for M41T82 with HT (Halt Update) 2012-07-07 14:07:43 +02:00
serial sh: Add SH7269 device and RSK2+SH7269 board 2012-05-28 09:12:54 +09:00
spi kw_spi: add weak functions board_spi_claim/release_bus 2012-07-07 14:07:32 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb ehci-hcd: fix external buffer cache handling 2012-07-18 14:43:42 +02:00
video ipu_common: Add ldb_clk for use in parenting the pixel clock 2012-07-10 11:35:39 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00