MLK-18703: crypto: caam: Add init TRNG into SPL or U-Boot
authorAymen Sghaier <aymen.sghaier@nxp.com>
Tue, 24 Apr 2018 16:36:02 +0000 (18:36 +0200)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:37 +0000 (02:36 -0700)
commit20bd91de9f4b305adb15dda3a09fd9958557a82b
tree4e027ff215bf3aa0392886e4200693b98cee1cbd
parentfcd29e9dd2e13e4650741603ca1bfb40fe1a9ede
MLK-18703: crypto: caam: Add init TRNG into SPL or U-Boot

 The following reasons lead to instantiate the TRNG into U-Boot/SPL:

 - On some i.MX platforms Linux Kernel could not instantiate RNG
 - RNG could be used/needed by M4/M0 cores before Kernel stage
 - Having the RNG instantiation implemented only once for
   almost i.MX platforms

Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
(cherry picked from commit 1f4134c85f6416cbdadaf5f4ff6321f6c685c74c)
drivers/crypto/fsl_caam.c
drivers/crypto/fsl_caam_internal.h
include/fsl_caam.h