summaryrefslogtreecommitdiff
path: root/drivers/crypto/amcc/crypto4xx_reg_def.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2016-04-18 13:57:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-20 12:50:02 +0300
commit5343e674f32fb82b7a80a24b5a84eee62d3fe624 (patch)
tree33fdbbb3df21e5aaef8b15b59822778016141c40 /drivers/crypto/amcc/crypto4xx_reg_def.h
parente81f3340bba2bdcdf021aff511830e718e6e2112 (diff)
downloadlinux-5343e674f32fb82b7a80a24b5a84eee62d3fe624.tar.xz
crypto4xx: integrate ppc4xx-rng into crypto4xx
This patch integrates the ppc4xx-rng driver into the existing crypto4xx. This is because the true random number generator is controlled and part of the security core. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc/crypto4xx_reg_def.h')
-rw-r--r--drivers/crypto/amcc/crypto4xx_reg_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_reg_def.h b/drivers/crypto/amcc/crypto4xx_reg_def.h
index 5f5fbc0716ff..46fe57c8f6eb 100644
--- a/drivers/crypto/amcc/crypto4xx_reg_def.h
+++ b/drivers/crypto/amcc/crypto4xx_reg_def.h
@@ -125,6 +125,7 @@
#define PPC4XX_INTERRUPT_CLR 0x3ffff
#define PPC4XX_PRNG_CTRL_AUTO_EN 0x3
#define PPC4XX_DC_3DES_EN 1
+#define PPC4XX_TRNG_EN 0x00020000
#define PPC4XX_INT_DESCR_CNT 4
#define PPC4XX_INT_TIMEOUT_CNT 0
#define PPC4XX_INT_CFG 1