u-boot-brain/drivers/mmc
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
..
arm_pl180_mmci.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
arm_pl180_mmci.h MMC: Add support for PL180 ARM mmc device 2011-04-29 03:20:01 -05:00
atmel_mci.c avr32: rename memory-map.h -> hardware.h 2011-05-18 07:56:50 +02:00
atmel_mci.h Revert "AT91:mmc:fix multiple read/write error" 2011-07-28 20:47:15 -05:00
bfin_sdh.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
davinci_mmc.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
fsl_esdhc.c fsl_esdhc: Initialize mmc->b_max 2011-05-18 14:37:45 -05:00
ftsdc010_esdhc.c ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
gen_atmel_mci.c Revert "AT91:mmc:fix multiple read/write error" 2011-07-28 20:47:15 -05:00
Makefile ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
mmc_spi.c mmc_spi: generate response for send status command 2011-05-18 14:30:34 -05:00
mmc.c mmc: dcache: allocate cache aligned buffer for scr and switch_status 2011-10-25 09:25:13 +02:00
mv_sdhci.c MMC: add marvell sdhci driver 2011-07-15 20:29:19 -05:00
mxcmmc.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
omap_hsmmc.c mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
pxa_mmc.c PXA: pxa-regs.h cleanup 2010-10-19 22:46:22 +02:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
s5p_mmc.c mmc: S5P: Support DMA restarts at buffer boundaries 2011-09-03 22:40:47 +02:00
sdhci.c MMC: add sdhci generic framework 2011-07-15 20:29:18 -05:00
sh_mmcif.c mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
tegra2_mmc.c mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3 2011-07-15 20:28:56 -05:00
tegra2_mmc.h mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3 2011-07-15 20:28:56 -05:00