summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnton staaf <robotboy@chromium.org>2011-10-12 13:56:04 +0000
committerWolfgang Denk <wd@denx.de>2011-10-25 09:26:34 +0200
commitf75dd584cdfe29dfdcfd424bb237b9238cfb8fe4 (patch)
tree64c18b237725fde2849ccf12c3b96e2a4d815a12 /drivers
parenta1969923c90c64ac55f80f14a7ca3ea2c766d079 (diff)
downloadu-boot-imx-f75dd584cdfe29dfdcfd424bb237b9238cfb8fe4.zip
u-boot-imx-f75dd584cdfe29dfdcfd424bb237b9238cfb8fe4.tar.gz
u-boot-imx-f75dd584cdfe29dfdcfd424bb237b9238cfb8fe4.tar.bz2
part_efi: dcache: allocate cacheline aligned buffers
Currently part_efi.c allocates buffers for the gpt_header, the legacy_mbr, and the pte (partition table entry) that may be incorrectly aligned for DMA operations. This patch uses ALLOC_CACHE_ALIGN_BUFFER for the stack allocated buffers and memalign to replace the malloc of the pte. 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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions