From: Tom Rini Date: Thu, 13 Aug 2015 14:27:03 -0400 Subject: [U-Boot] [U-Boot PATCH v2 02/10] env: use cache line aligned memory for flash read In-Reply-To: <1438234483-3738-3-git-send-email-vigneshr@ti.com> References: <1438234483-3738-1-git-send-email-vigneshr@ti.com> <1438234483-3738-3-git-send-email-vigneshr@ti.com> Message-ID: <20150813182703.GX25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 30, 2015 at 11:04:35AM +0530, Vignesh R wrote: > From: Ravi Babu > > 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 > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: