commit | 20d93fcdd1d8f91475694f2913f2d3c0df0db5da | [log] [tgz] |
---|---|---|
author | Ravi Babu <ravibabu@ti.com> | Mon Aug 17 13:29:49 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Mon Aug 17 23:29:14 2015 +0530 |
tree | 5062540bf6119cd97171e2cc4c61bbad18fd41da | |
parent | 8f2c9bb335736ffa750f2183ad30bd34c77ab1dd [diff] |
env: use cache line aligned memory for flash read 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>