diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-18 08:05:28 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-20 11:07:26 -0700 |
commit | 55b523b7d4ab885142f77d388007eb5490ba6bf4 (patch) | |
tree | 52860da4203f49ccc80bed7e1703d41b96c7fdd7 /arch/arm/include/asm/arch-omap3/mem.h | |
parent | ed34f34dbaf206dfe223f4bc2147d600fe1b0f58 (diff) | |
download | u-boot-imx-55b523b7d4ab885142f77d388007eb5490ba6bf4.zip u-boot-imx-55b523b7d4ab885142f77d388007eb5490ba6bf4.tar.gz u-boot-imx-55b523b7d4ab885142f77d388007eb5490ba6bf4.tar.bz2 |
ext4: cache-align buffers so the invalidation works
DMA buffer cache invalidation requires that buffers have cache-aligned
buffer locations and sizes. Use memalign() and ALLOC_CACHE_ALIGN_BUFFER()
to ensure this.
On Tegra at least, without this fix, the following fail commands fail in
u-boot-master/ext4, but succeeded at the branch's branch point in
u-boot/master. With this fix, the commands work again:
ext2ls mmc 0:1 /
ext2load mmc 0:1 /boot/zImage
Cc: Uma Shankar <uma.shankar@samsung.com>
Cc: Manjunatha C Achar <a.manjunatha@samsung.com>
Cc: Iqbal Shareef <iqbal.ams@samsung.com>
Cc: Hakgoo Lee <goodguy.lee@samsung.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/mem.h')
0 files changed, 0 insertions, 0 deletions