u-boot-brain/drivers
Anton staaf f781dd383a mmc: dcache: allocate cache aligned buffer for scr and switch_status
Currently the sd_change_freq function allocates two buffers on the
stack that it passes down to the MMC device driver.  These buffers
could be unaligned to the L1 dcache line size.  This causes problems
when using DMA and with caches enabled.

This patch correctly cache alignes the buffers used for reading the
scr register and switch status values from an MMC device.

Change-Id: Ifa8414f572ef907681bd2d5ff3950285a215357d
Signed-off-by: Anton Staaf <robotboy@chromium.org>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
2011-10-25 09:25:13 +02:00
..
bios_emulator Replace space and tab checks with isblank 2011-10-17 22:25:34 +02:00
block consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
dma fsl_dma: fix support for 83xx DMA engine 2011-07-06 19:09:27 -05:00
fpga FPGA: constify Lattice FPGA code 2011-09-05 11:41:42 +02:00
gpio gpio: Add PCA9698 40-bit I2C I/O port 2011-10-22 00:43:45 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c I2C: mv_i2c: fix multi-bus init issue 2011-10-03 11:50:09 +02:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc cosmetic: fsl_pmic: cosmetic for the help message 2011-09-30 22:01:00 +02:00
mmc mmc: dcache: allocate cache aligned buffer for scr and switch_status 2011-10-25 09:25:13 +02:00
mtd spi/eon: add support for new EON spi flash EN25Q32B 2011-10-23 23:32:43 +02:00
net net: sc589: drop unused !NET_MULTI driver 2011-10-23 23:34:20 +02:00
pci pci: move pcidelay code to new location just before PCI bus scan 2011-10-15 22:16:53 +02:00
pcmcia PPC: Cleanup tqm8xx_pcmcia.c 2011-10-05 22:03:09 +02:00
power mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
qe fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
rtc rtc, davinci: add support for davinci internal RTC 2011-09-30 22:00:58 +02:00
serial NS16550: trivial code clean for checkpatch 2011-10-23 20:19:53 +02:00
spi Blackfin: bfin_spi: fix build error when DEBUG is defined 2011-10-17 22:25:33 +02:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
video video: Moving mx3fb.c to CONFIG_VIDEO 2011-10-17 22:25:32 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00