From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 20 Jul 2015 21:27:35 +0200 Subject: [U-Boot] [PATCH 3/3] mtd: nand: mxs invalidate dcache before DMA read In-Reply-To: <1437385222-23921-3-git-send-email-Peng.Fan@freescale.com> References: <1437385222-23921-1-git-send-email-Peng.Fan@freescale.com> <1437385222-23921-3-git-send-email-Peng.Fan@freescale.com> Message-ID: <201507202127.35907.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, July 20, 2015 at 11:40:22 AM, Peng Fan wrote: > Follow linux dma follow: Nit: "flow" at the end, not "follow" ;-) > 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 Acked-by: Marek Vasut Best regards, Marek Vasut