[U-Boot] [PATCH 1/2] part_dos: allocate cacheline aligned buffers
Thierry Reding
thierry.reding at avionic-design.de
Tue Apr 24 20:45:22 CEST 2012
* Simon Glass wrote:
> On Tue, Apr 24, 2012 at 7:53 PM, Thierry Reding
> <thierry.reding at avionic-design.de> wrote:
> > Some hardware requires the data buffers to be cacheline-aligned to make
> > sure DMA operations can be properly executed.
> >
> > This patch uses the ALLOC_CACHE_ALIGN_BUFFER macro to allocate buffers
> > with proper alignment. The same was already done for EFI partitions in
> > commit f75dd58 "part_efi: dcache: allocate cacheline aligned buffers".
> >
> > Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
>
> Acked-by: Simon Glass <sjg at chromium.org>
I just noticed that the same patch was already posted by Eric Nelson back in
March. Anatolij Gustschin just applied it to u-boot-staging/agust at denx.de.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120424/044dc5dd/attachment.pgp>
More information about the U-Boot
mailing list