]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: talitos - add sub-choice in talitos CONFIG for SEC1
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 17 Apr 2015 14:32:03 +0000 (16:32 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 01:14:41 +0000 (09:14 +0800)
This patch adds a CONFIG option to select SEC1, SEC2+ or both.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig

index 800bf41718e185e8337bce952e4f1783412f8741..8a76a012be614c36b5436ab6d3414dc06a9ff35c 100644 (file)
@@ -222,6 +222,24 @@ config CRYPTO_DEV_TALITOS
          To compile this driver as a module, choose M here: the module
          will be called talitos.
 
+config CRYPTO_DEV_TALITOS1
+       bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
+       depends on CRYPTO_DEV_TALITOS
+       depends on PPC_8xx || PPC_82xx
+       default y
+       help
+         Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
+         found on MPC82xx or the Freescale Security Engine (SEC Lite)
+         version 1.2 found on MPC8xx
+
+config CRYPTO_DEV_TALITOS2
+       bool "SEC2+ (SEC version 2.0 or upper)"
+       depends on CRYPTO_DEV_TALITOS
+       default y if !PPC_8xx
+       help
+         Say 'Y' here to use the Freescale Security Engine (SEC)
+         version 2 and following as found on MPC83xx, MPC85xx, etc ...
+
 config CRYPTO_DEV_IXP4XX
        tristate "Driver for IXP4xx crypto hardware acceleration"
        depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE