Re: [U-Boot] [U-Boot RESEND v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-17 Thread Jagan Teki
On 17 August 2015 at 13:29, Vignesh R vigne...@ti.com wrote: From: Ravi Babu ravib...@ti.com Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read.

[U-Boot] [U-Boot RESEND v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-17 Thread Vignesh R
From: Ravi Babu ravib...@ti.com Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Vignesh R