aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-04-10 16:40:59 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-04-16 20:40:16 +0800
commit52d77eb177a034c6ddc6f33ad16458b7df0c5190 (patch)
treec109c6b7714233c4caea5a934b421340167cefba /crypto
parentcrypto: bfin_crc - ignore duplicated registration of the same algorithm (diff)
downloadlinux-dev-52d77eb177a034c6ddc6f33ad16458b7df0c5190.tar.xz
linux-dev-52d77eb177a034c6ddc6f33ad16458b7df0c5190.zip
cryptoo: bfin_crc - avoid get physical address of coherence memory by dma_map_single
- The 4-byte sg_mid_buf is located in the middle of the coherence memory sg_cpu. Don't call dma_map_single to get its physical address. Get the its base physical address from the physical address of sg_cpu instead. - Should set up the dma descriptor data after the 4-byte sg_mid_buf is filled in completely from next sg buffer. - memory copy from sg buffer should be done via virtual address. - Remove unused reference to blackfin header Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions