commit | 3f891a103c5c90c186a5a0b1584dfa39e8688b8f | [log] [tgz] |
---|---|---|
author | Vignesh Raghavendra <vigneshr@ti.com> | Thu Sep 17 16:53:08 2020 +0530 |
committer | Stefan Roese <sr@denx.de> | Thu Oct 08 09:04:41 2020 +0200 |
tree | fc764bfed0cf22b47a8148fb7d15f3bd664e937c | |
parent | 8995a86cd6fa6e189c03a638da4a8ef9755d3738 [diff] |
mtd: cfi_mtd: Use DMA for reads When possible use DMA for reading from CFI flash, this provides upto 5x improvement in read performance with high speed CFI compliant flashes like HyperFlash. Code will gracefully fallback to CPU copy when DMA is unavailable. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Stefan Roese <sr@denx.de>