MA-13937 Enable CAAM for imx8q
authorJi Luo <ji.luo@nxp.com>
Fri, 11 Jan 2019 01:46:53 +0000 (09:46 +0800)
committerfaqiang.zhu <faqiang.zhu@nxp.com>
Wed, 10 Jul 2019 08:22:21 +0000 (16:22 +0800)
commitd6e0fdcde5773fed4804cdacf927808bd2da3d7d
treecb8a040709b797a7b5764fbccb2f74f207eca4cf
parent89ff2dcb74806fb19d43d5f2c06fb4335cba1231
MA-13937 Enable CAAM for imx8q

The CAAM driver in u-boot will use JR0 by default, but for
imx8q, both JR0 and JR1 are assigned to SECO and  A core
should never access them.
Power on the JR3 in this patchset and use it to complete
the CAAM operations for imx8q.

Test: CAAM self test cases pass for imx8q.

below patches are merged to this commit:
MA-13964 imx8q: Kick the CAAM JR before kicking the SMMU
MA-13969 Fix CAAM build warnings

Change-Id: Ie3d77d1f2910e7f4c257c797c12b5c8a30ad936a
Signed-off-by: Ji Luo <ji.luo@nxp.com>
arch/arm/include/asm/arch-imx8/crm_regs.h [new file with mode: 0644]
board/freescale/imx8qm_mek/imx8qm_mek.c
board/freescale/imx8qxp_mek/imx8qxp_mek.c
drivers/crypto/fsl_caam.c
drivers/crypto/fsl_caam_internal.h