MLK-10897-1 ARM: imx7d: Add CAAM support for i.mx7d
authorDan Douglass <dan.douglass@freescale.com>
Thu, 14 May 2015 21:28:52 +0000 (16:28 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:55 +0000 (14:49 -0500)
commit24acb63a0fd236df05f6aa73950cbcfab26da305
tree7c9fd02dc0be2a68b2e6e09ab48d4927c1dfbea3
parentb4b7911b587fe192e585007350d539a3e79af53b
MLK-10897-1 ARM: imx7d: Add CAAM support for i.mx7d

CAAM only has a single clock in i.mx7d. Logic was added to initialize only the
single clock.

The Secure Memory registers moved in CAAM era included in i.mx7d. This required
changes to support access to two different versions of the register map. The
registers are access through a data structure that overlay the register region.
Two new Secure Memory register structures were created to support the different
versions. Logic was also added to determine which version is implemented based on
the CAAM era, and access functions were added to support register access to the
Secure Memory Command and Status registers.

Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/regs.h
drivers/crypto/caam/sm.h
drivers/crypto/caam/sm_store.c