summaryrefslogtreecommitdiffstats
path: root/drivers/block/mxc_ata.c
diff options
context:
space:
mode:
authorRavi Babu <ravibabu@ti.com>2015-08-17 13:29:49 +0530
committerJagan Teki <jteki@openedev.com>2015-08-17 23:29:14 +0530
commit7dd0174467a2a1fc99d7dc19b11bbadc80f9c740 (patch)
tree5062540bf6119cd97171e2cc4c61bbad18fd41da /drivers/block/mxc_ata.c
parent156e96f0382a09e3b67681566319ec945f192eb9 (diff)
downloadu-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 'drivers/block/mxc_ata.c')
0 files changed, 0 insertions, 0 deletions