commit | 8f2c9bb335736ffa750f2183ad30bd34c77ab1dd | [log] [tgz] |
---|---|---|
author | Ravi Babu <ravibabu@ti.com> | Mon Aug 17 13:29:48 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Mon Aug 17 23:29:14 2015 +0530 |
tree | 988befa0534412ca17cde3bbeee17cf963130c48 | |
parent | 41c1f4adbd68d976b58a67db4f4cf9abce1ac2a1 [diff] |
sf: allocate cache aligned buffers to copy from flash 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 <ravibabu@ti.com> Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Tested-by: Jagan Teki <jteki@openedev.com>