Skip to content
Snippets Groups Projects
Commit 83738d87 authored by Bastian Hecht's avatar Bastian Hecht Committed by Artem Bityutskiy
Browse files

mtd: sh_flctl: Add DMA capabilty


The code probes if DMA channels can get allocated and tears them down at
removal/failure if needed.
If available it uses them to transfer the data part (not ECC). On
failure we fall back to PIO mode.

Based on Guennadi Liakhovetski's code from the sh_mmcif driver.

Signed-off-by: default avatarBastian Hecht <hechtb@gmail.com>
Reviewed-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent e8a9d8f3
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment