crypto: caam - add backward compatible string sec4.0
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Fri, 13 Jul 2012 22:49:21 +0000 (17:49 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Aug 2012 09:47:31 +0000 (17:47 +0800)
commit95bcaa39053ff518021572ca00ebf626ee8cbaf8
tree98b87dc54c548fba12510ab901c0a222b8e1aa18
parent4a905077134849ea30d1c6dbf4071ea9e8e71b93
crypto: caam - add backward compatible string sec4.0

In some device trees of previous version, there were string "fsl,sec4.0".
To be backward compatible with device trees, we first check "fsl,sec-v4.0",
if it fails, then check for "fsl,sec4.0".

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
extended to include new hash and rng code, which was omitted from
the previous version of this patch during a rebase of the SDK
version.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/caamrng.c