crypto/fsl: Correct 64-bit write when MMU disabled
authorSaksham Jain <saksham.jain@nxp.com>
Wed, 23 Mar 2016 10:54:41 +0000 (16:24 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 29 Mar 2016 15:46:22 +0000 (08:46 -0700)
commit69b6a796f7a7cf2a7946e07e32346bf5595829d5
tree048c8140e739a02d372fed20ee975691690864c1
parent4a97a0c91d25763d7c3af5530c5e89f53fee7643
crypto/fsl: Correct 64-bit write when MMU disabled

When MMU is disabled, 64-bit write must be aligned at 64-bit
boundary. Becaue the memory location is not guaranteed to be 64-bit
aligned, the 64-bit write needs to be split into two 32-bit writes
to avoid the alignment exception.

Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Saksham Jain <saksham.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/crypto/fsl/desc_constr.h