diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-05-10 04:14:06 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-15 03:25:32 -0400 |
commit | 585d188f8072aa3722d5c1ec1f0f2ea82e474778 (patch) | |
tree | 6b988ce236ed31fec51099458e23190737ac3218 /arch/arm/mach-ux500/include | |
parent | b29e2679d0da91c60d3ac190d9c3bd65ac2f68c5 (diff) |
mach-ux500: crypto - core support for CRYP/HASH module.
This adds the required platform data and calls to enable
the CRYP/HASH driver.
Signed-off-by: Andreas Westin <andreas.westin@stericsson.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/crypto-ux500.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/devices.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/hardware.h | 3 |
3 files changed, 7 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 de40add19166..5b2d0817e26a 100644 --- a/arch/arm/mach-ux500/include/mach/crypto-ux500.h +++ b/arch/arm/mach-ux500/include/mach/crypto-ux500.h | |||
@@ -5,6 +5,7 @@ | |||
5 | * License terms: GNU General Public License (GPL) version 2 | 5 | * License terms: GNU General Public License (GPL) version 2 |
6 | */ | 6 | */ |
7 | #ifndef _CRYPTO_UX500_H | 7 | #ifndef _CRYPTO_UX500_H |
8 | #define _CRYPTO_UX500_H | ||
8 | #include <linux/dmaengine.h> | 9 | #include <linux/dmaengine.h> |
9 | #include <plat/ste_dma40.h> | 10 | #include <plat/ste_dma40.h> |
10 | 11 | ||
diff --git a/arch/arm/mach-ux500/include/mach/devices.h b/arch/arm/mach-ux500/include/mach/devices.h index 5f6cb71fc62d..a55454a5b21e 100644 --- a/arch/arm/mach-ux500/include/mach/devices.h +++ b/arch/arm/mach-ux500/include/mach/devices.h | |||
@@ -15,6 +15,9 @@ extern struct platform_device u8500_gpio_devs[]; | |||
15 | 15 | ||
16 | extern struct amba_device ux500_pl031_device; | 16 | extern struct amba_device ux500_pl031_device; |
17 | 17 | ||
18 | extern struct platform_device ux500_hash1_device; | ||
19 | extern struct platform_device ux500_cryp1_device; | ||
20 | |||
18 | extern struct platform_device u8500_dma40_device; | 21 | extern struct platform_device u8500_dma40_device; |
19 | extern struct platform_device ux500_ske_keypad_device; | 22 | extern struct platform_device ux500_ske_keypad_device; |
20 | 23 | ||
diff --git a/arch/arm/mach-ux500/include/mach/hardware.h b/arch/arm/mach-ux500/include/mach/hardware.h index d93d6dbef25b..1451f58158bf 100644 --- a/arch/arm/mach-ux500/include/mach/hardware.h +++ b/arch/arm/mach-ux500/include/mach/hardware.h | |||
@@ -31,6 +31,9 @@ | |||
31 | #include <mach/db5500-regs.h> | 31 | #include <mach/db5500-regs.h> |
32 | 32 | ||
33 | #define MSP_TX_RX_REG_OFFSET 0 | 33 | #define MSP_TX_RX_REG_OFFSET 0 |
34 | #define CRYP1_RX_REG_OFFSET 0x10 | ||
35 | #define CRYP1_TX_REG_OFFSET 0x8 | ||
36 | #define HASH1_TX_REG_OFFSET 0x4 | ||
34 | 37 | ||
35 | #ifndef __ASSEMBLY__ | 38 | #ifndef __ASSEMBLY__ |
36 | 39 | ||