From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Tue, 24 Apr 2012 20:45:22 +0200 Subject: [U-Boot] [PATCH 1/2] part_dos: allocate cacheline aligned buffers In-Reply-To: References: <1335254024-30115-1-git-send-email-thierry.reding@avionic-design.de> Message-ID: <20120424184522.GA22528@avionic-0098.mockup.avionic-design.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de * Simon Glass wrote: > On Tue, Apr 24, 2012 at 7:53 PM, Thierry Reding > 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 > > Acked-by: Simon Glass 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: