commit | 83738d87e3a0a4096e1419a65b8228130d183df6 | [log] [tgz] |
---|---|---|
author | Bastian Hecht <hechtb@googlemail.com> | Fri Oct 19 12:15:35 2012 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Thu Nov 15 15:37:50 2012 +0200 |
tree | c0a837ba214d479f4f1fa26476aef11d7da58751 | |
parent | e8a9d8f31c592eea89f1b0d3fd425e7a96944e88 [diff] |
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: Bastian Hecht <hechtb@gmail.com> Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>