LF-3946 crypto: caam: Fix kick_trng for i.MX
authorYe Li <ye.li@nxp.com>
Mon, 7 Jun 2021 13:31:07 +0000 (06:31 -0700)
committerYe Li <ye.li@nxp.com>
Mon, 7 Jun 2021 13:56:00 +0000 (06:56 -0700)
commit5ecaaa97bd6505722d21aa4e9012e680bd0ca490
tree5e88632665284bab14d78a7e5b386ff5f9fa00be
parent5ba9dfebc6fef8c020d6b37f6f507ca17c200f95
LF-3946 crypto: caam: Fix kick_trng for i.MX

Porting the RNG init relevant configurations for i.MX from fsl_caam.c
to jr.c to fix hwrng performance issue in kernel.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Gaurav Jain <gaurav.jain@nxp.com>
drivers/crypto/fsl/jr.c
include/fsl_sec.h