imx: Refactoring CAAM Job Ring structure and Secure Memory for imx7
authorUlises Cardenas <raul.casas@nxp.com>
Tue, 2 Feb 2016 10:39:39 +0000 (04:39 -0600)
committerStefano Babic <sbabic@denx.de>
Sun, 21 Feb 2016 10:20:54 +0000 (11:20 +0100)
commitf91e65a74eff93d5187a3b27e1badd80c2a35fed
tree5e48d11e83ccc63f8d433268d7ef4062f36b3005
parent2b8e8d2671227473c9698859db38fefa328b87d0
imx: Refactoring CAAM Job Ring structure and Secure Memory for imx7

Refactored data structure for CAAM's job ring and Secure Memory
to support i.MX7.

The new memory map use macros to resolve SM's offset by version.
This will solve the versioning issue caused by the new version of
secure memory of i.MX7

Signed-off-by: Ulises Cardenas <raul.casas@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx7/imx-regs.h
drivers/crypto/fsl/jobdesc.c
include/fsl_sec.h