diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-04-30 04:11:18 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-04 05:04:51 -0400 |
commit | 8a63b1994c500d4825ee73dc71502deffe5b135b (patch) | |
tree | 8495959cd99fba4c8a4a173b016a1cabdd1fe865 /arch/arm | |
parent | 2789c08fffeae270820dda5d096634aecc810af5 (diff) |
crypto: ux500 - Add driver for HASH hardware
This adds a driver for the ST-Ericsson ux500 hash hardware
module. The driver implements support for SHA-1 and SHA-2.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andreas Westin <andreas.westin@stericsson.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/crypto-ux500.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/crypto-ux500.h b/arch/arm/mach-ux500/include/mach/crypto-ux500.h index c470567775b7..de40add19166 100644 --- a/arch/arm/mach-ux500/include/mach/crypto-ux500.h +++ b/arch/arm/mach-ux500/include/mach/crypto-ux500.h | |||
@@ -8,6 +8,11 @@ | |||
8 | #include <linux/dmaengine.h> | 8 | #include <linux/dmaengine.h> |
9 | #include <plat/ste_dma40.h> | 9 | #include <plat/ste_dma40.h> |
10 | 10 | ||
11 | struct hash_platform_data { | ||
12 | void *mem_to_engine; | ||
13 | bool (*dma_filter)(struct dma_chan *chan, void *filter_param); | ||
14 | }; | ||
15 | |||
11 | struct cryp_platform_data { | 16 | struct cryp_platform_data { |
12 | struct stedma40_chan_cfg mem_to_engine; | 17 | struct stedma40_chan_cfg mem_to_engine; |
13 | struct stedma40_chan_cfg engine_to_mem; | 18 | struct stedma40_chan_cfg engine_to_mem; |