diff options
author | Anton staaf <robotboy@chromium.org> | 2011-10-04 11:24:50 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-25 09:26:14 +0200 |
commit | a1969923c90c64ac55f80f14a7ca3ea2c766d079 (patch) | |
tree | 4de7f00f7b64589e74eacfd68e86273b3e563474 /drivers/serial/serial_tegra2.h | |
parent | 4c1cd721d89d4b694dd018736007a97b5cdb04da (diff) | |
download | u-boot-imx-a1969923c90c64ac55f80f14a7ca3ea2c766d079.zip u-boot-imx-a1969923c90c64ac55f80f14a7ca3ea2c766d079.tar.gz u-boot-imx-a1969923c90c64ac55f80f14a7ca3ea2c766d079.tar.bz2 |
mmc: dcache: allocate cache aligned buffers for ext_csd
Currently the mmc_change_freq and mmc_startup functions allocates
buffers on the stack that are passed 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
ext_csd data from an MMC device.
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>
Diffstat (limited to 'drivers/serial/serial_tegra2.h')
0 files changed, 0 insertions, 0 deletions