diff options
author | Ravi Babu <ravibabu@ti.com> | 2015-08-17 13:29:49 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 23:29:14 +0530 |
commit | 7dd0174467a2a1fc99d7dc19b11bbadc80f9c740 (patch) | |
tree | 5062540bf6119cd97171e2cc4c61bbad18fd41da /Licenses/bsd-3-clause.txt | |
parent | 156e96f0382a09e3b67681566319ec945f192eb9 (diff) | |
download | u-boot-7dd0174467a2a1fc99d7dc19b11bbadc80f9c740.tar.gz u-boot-7dd0174467a2a1fc99d7dc19b11bbadc80f9c740.tar.xz u-boot-7dd0174467a2a1fc99d7dc19b11bbadc80f9c740.zip |
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>
Diffstat (limited to 'Licenses/bsd-3-clause.txt')
0 files changed, 0 insertions, 0 deletions