Skip to content
Snippets Groups Projects
Commit 156e96f0 authored by Ravi Babu's avatar Ravi Babu Committed by Jagan Teki
Browse files

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: default avatarRavi Babu <ravibabu@ti.com>
Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
Tested-by: default avatarJagan Teki <jteki@openedev.com>
parent a39cfe71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment