commit | 7dd0174467a2a1fc99d7dc19b11bbadc80f9c740 | [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 | 156e96f0382a09e3b67681566319ec945f192eb9 [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>