diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-04-30 10:11:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-04 19:04:51 +1000 |
commit | 2789c08fffeae270820dda5d096634aecc810af5 (patch) | |
tree | 113e76a6908b4b786374c53f010c472a3d663514 /arch/arm | |
parent | 028fdd87b79a45544a2b6902989f2cbbf73a3eac (diff) | |
download | linux-2789c08fffeae270820dda5d096634aecc810af5.tar.gz linux-2789c08fffeae270820dda5d096634aecc810af5.tar.bz2 linux-2789c08fffeae270820dda5d096634aecc810af5.zip |
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')
-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 @@ +/* + * Copyright (C) ST-Ericsson SA 2011 + * + * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson + * License terms: GNU General Public License (GPL) version 2 + */ +#ifndef _CRYPTO_UX500_H +#include <linux/dmaengine.h> +#include <plat/ste_dma40.h> + +struct cryp_platform_data { + struct stedma40_chan_cfg mem_to_engine; + struct stedma40_chan_cfg engine_to_mem; +}; + +#endif |