summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/crypto-ux500.h
diff options
context:
space:
mode:
authorBerne Hebark <berne.hebark@stericsson.com>2011-09-08 14:23:57 +0530
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:07:25 +0200
commitfaa4f48e431e5f23c75815f2b27eec1ada2e1805 (patch)
treeb9bcf13c4fdf2a1cefcfdb30a665c27eb1c93d8c /arch/arm/mach-ux500/include/mach/crypto-ux500.h
parentcc4fb9c5993d8cacef65f6e3c2ae30b6627ae1b5 (diff)
ux500: cryp/hash: Updated for both u8500 & u5500
cryp1 & hash1 updated to be compatible on both u8500 and u5500: - added to u5500_defconfig. - settings from devices.c to board-mop500.c & board-u5500.c. - dynamic driver registration in board-mop500.c & board-u5500.c. - added cryp1 to clock-db5500.c and renamed cryp to cryp0. - added function dbx500_add_platform_device_noirq to devices-common.c. - added cryp1 and hash1 inline functions to devices-common.h (dbx500_add_cryp1). - defines added to devices-db5500.h and devices-db8500.h. - u8500_cryp/hash changed to ux500_cryp/hash. - update to handle different value for CRYP_PERIPHERAL_ID2 between u8500 and u5500 (more info in ER336742). ST-Ericsson ID: 257104 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Ref: Commit-id: Ibe72c72d8f9d781008164f1bf24ceafa82ac9083 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: I08a8f71acb89be99cbf8b54390be569e2369c73b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30437 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/crypto-ux500.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/crypto-ux500.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/crypto-ux500.h b/arch/arm/mach-ux500/include/mach/crypto-ux500.h
index 57da88398d5..9d1e1c52c13 100644
--- a/arch/arm/mach-ux500/include/mach/crypto-ux500.h
+++ b/arch/arm/mach-ux500/include/mach/crypto-ux500.h
@@ -6,11 +6,14 @@
*/
#ifndef _CRYPTO_UX500_H
#include <plat/ste_dma40.h>
-#include <mach/ste-dma40-db8500.h>
struct cryp_platform_data {
struct stedma40_chan_cfg mem_to_engine;
struct stedma40_chan_cfg engine_to_mem;
};
+struct hash_platform_data {
+ struct stedma40_chan_cfg mem_to_engine;
+};
+
#endif