u-boot-brain/fs/ext4
Stephen Warren 55b523b7d4 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>
2012-09-20 11:07:26 -07:00
..
crc16.c ext4fs write support 2012-08-09 23:48:02 +02:00
crc16.h ext4fs write support 2012-08-09 23:48:02 +02:00
dev.c ext4: cache-align buffers so the invalidation works 2012-09-20 11:07:26 -07:00
ext4_common.c ext4: cache-align buffers so the invalidation works 2012-09-20 11:07:26 -07:00
ext4_common.h ext4: cache-align buffers so the invalidation works 2012-09-20 11:07:26 -07:00
ext4_journal.c ext4fs write support 2012-08-09 23:48:02 +02:00
ext4_journal.h ext4fs write support 2012-08-09 23:48:02 +02:00
ext4fs.c ext4fs write support 2012-08-09 23:48:02 +02:00
Makefile ext4fs write support 2012-08-09 23:48:02 +02:00