Dear Marek, On Tue, Jul 10, 2012 at 5:55 AM, Marek Vasut <ma...@denx.de> wrote:
> > > > + invalidate_dcache_range((uint32_t)buffer, > > > + ALIGN_END_ADDR(u8, buffer, length)); > > > > We shouldn't use ALIGN_END_ADDR here. This can lead to strange results on > > systems with ARCH_DMA_MINALIGN < 32. > > > Good point, ALIGN_END_ADDR should align it to max(32, length) ? > > Hm.. no, actually we should align buffer length to ARCH_DMA_MINALIGN. Regards, Ilya.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot