diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-04-30 04:11:17 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-04 05:04:51 -0400 |
commit | 2789c08fffeae270820dda5d096634aecc810af5 (patch) | |
tree | 113e76a6908b4b786374c53f010c472a3d663514 /arch/arm/mach-ux500 | |
parent | 028fdd87b79a45544a2b6902989f2cbbf73a3eac (diff) |
crypto: ux500 - Add driver for CRYP hardware
This adds a driver for the ST-Ericsson ux500 crypto hardware
module. It supports AES, DES and 3DES, the driver implements
support for AES-ECB,CBC and CTR.
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/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/crypto-ux500.h | 16 |
1 files changed, 16 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 new file mode 100644 index 000000000000..c470567775b7 --- /dev/null +++ b/arch/arm/mach-ux500/include/mach/crypto-ux500.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * Copyright (C) ST-Ericsson SA 2011 | ||
3 | * | ||
4 | * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson | ||
5 | * License terms: GNU General Public License (GPL) version 2 | ||
6 | */ | ||
7 | #ifndef _CRYPTO_UX500_H | ||
8 | #include <linux/dmaengine.h> | ||
9 | #include <plat/ste_dma40.h> | ||
10 | |||
11 | struct cryp_platform_data { | ||
12 | struct stedma40_chan_cfg mem_to_engine; | ||
13 | struct stedma40_chan_cfg engine_to_mem; | ||
14 | }; | ||
15 | |||
16 | #endif | ||