summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-05-23 11:20:07 +0200
committerDenys Dmytriyenko <denys@ti.com>2012-05-30 13:49:03 -0400
commit2177f80076ebc15cc58fb521b58e49c83315f34e (patch)
tree3690868d86f360c07c79ea21269ec198293dbec2 /recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch
parentd9d51a11b8ff53c5ee7ef12e221479a24e071f13 (diff)
downloadmeta-ti-2177f80076ebc15cc58fb521b58e49c83315f34e.tar.gz
linux-ti33x-psp 3.2: update to 3.2.18
Duplicate patches between PSP and 3.2.17 have been dropped from the 3.2.17 series Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch
new file mode 100644
index 00000000..8176064f
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0041-crypto-mv_cesa-requires-on-CRYPTO_HASH-to-build.patch
@@ -0,0 +1,51 @@
1From d5f0e3adeaf18edfac8b3c7d8f867fe92923a4ab Mon Sep 17 00:00:00 2001
2From: Alexander Clouter <alex@digriz.org.uk>
3Date: Sat, 12 May 2012 09:45:08 +0100
4Subject: [PATCH 41/56] crypto: mv_cesa requires on CRYPTO_HASH to build
5
6commit 1ebfefcf37a6e308266a8d786e8cfea0a454058c upstream.
7
8Without CRYPTO_HASH being selected, mv_cesa has a lot of hooks
9into undefined exports.
10----
11 MODPOST 81 modules
12 Kernel: arch/arm/boot/Image is ready
13 AS arch/arm/boot/compressed/head.o
14 GZIP arch/arm/boot/compressed/piggy.gzip
15 CC arch/arm/boot/compressed/misc.o
16 CC arch/arm/boot/compressed/decompress.o
17ERROR: "crypto_ahash_type" [drivers/crypto/mv_cesa.ko] undefined!
18ERROR: "crypto_shash_final" [drivers/crypto/mv_cesa.ko] undefined!
19ERROR: "crypto_register_ahash" [drivers/crypto/mv_cesa.ko] undefined!
20ERROR: "crypto_unregister_ahash" [drivers/crypto/mv_cesa.ko] undefined!
21ERROR: "crypto_shash_update" [drivers/crypto/mv_cesa.ko] undefined!
22ERROR: "crypto_shash_digest" [drivers/crypto/mv_cesa.ko] undefined!
23ERROR: "crypto_shash_setkey" [drivers/crypto/mv_cesa.ko] undefined!
24ERROR: "crypto_alloc_shash" [drivers/crypto/mv_cesa.ko] undefined!
25make[1]: *** [__modpost] Error 1
26make: *** [modules] Error 2
27make: *** Waiting for unfinished jobs....
28----
29
30Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
31Signed-off-by: Jason Cooper <jason@lakedaemon.net>
32Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
33---
34 drivers/crypto/Kconfig | 1 +
35 1 files changed, 1 insertions(+), 0 deletions(-)
36
37diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
38index 6d16b4b..7e3002b 100644
39--- a/drivers/crypto/Kconfig
40+++ b/drivers/crypto/Kconfig
41@@ -173,6 +173,7 @@ config CRYPTO_DEV_MV_CESA
42 select CRYPTO_ALGAPI
43 select CRYPTO_AES
44 select CRYPTO_BLKCIPHER2
45+ select CRYPTO_HASH
46 help
47 This driver allows you to utilize the Cryptographic Engines and
48 Security Accelerator (CESA) which can be found on the Marvell Orion
49--
501.7.7.6
51