diff options
author | Ravi Babu <ravibabu@ti.com> | 2015-08-17 13:29:48 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 23:29:14 +0530 |
commit | 156e96f0382a09e3b67681566319ec945f192eb9 (patch) | |
tree | 988befa0534412ca17cde3bbeee17cf963130c48 /arch/arm/cpu | |
parent | a39cfe717c4152ececea5c4ce0aa2e97faa263ab (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>
Diffstat (limited to 'arch/arm/cpu')
0 files changed, 0 insertions, 0 deletions