commit | ecfb8768b16ebf6781ee0df45742674bda8a9543 | [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 | 63b29d80823be9ce7763cadc115012d0fba69700 [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>