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

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: 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 156e96f0
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