summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2013-04-26 15:44:54 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2013-05-14 10:14:51 +0800
commit986dfbcf8b493928188f0e634068993bf2067ad7 (patch)
treec9d23460896b7d75658c901465029c26eb818a6f /crypto
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadop-kernel-dev-986dfbcf8b493928188f0e634068993bf2067ad7.zip
op-kernel-dev-986dfbcf8b493928188f0e634068993bf2067ad7.tar.gz
crypto: caam - FIX RNG init for RNG greater than equal to 4
For SEC including a RNG block version >= 4, special initialization must occur before any descriptor that uses RNG block can be submitted. This initialization is required not only for SEC with version greater than 5.0, but for SEC with RNG version >=4. There may be a case where RNG has already been instantiated by u-boot or boot ROM code.In such SoCs, if RNG is initialized again SEC would returns "Instantiation error". Hence, the initialization status of RNG4 should be also checked before doing RNG init. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud