Skip to content
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
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