commit | e3bbfb774050209c63e1ba65753019e9002727bf | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Tue Jul 21 16:15:21 2015 +0800 |
committer | Scott Wood <scottwood@freescale.com> | Tue Aug 25 22:53:59 2015 -0500 |
tree | 08ccaaa3bb470b0f6cc21c7b7f73d7e14cf82f9e | |
parent | c94f09d079fd229af10abc66b76c4764fcd79ffd [diff] |
mtd: nand: mxs invalidate dcache before DMA read Follow linux dma flow: Before DMA read, be sure to invalidate the cache over the address range of DMA buffer to prevent cache coherency problems. After DMA read, invalidate dcache again. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Tim Harvey <tharvey@gateworks.com>