summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/devices-db5500.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/devices-db5500.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/devices-db5500.h')
-rw-r--r--arch/arm/mach-ux500/devices-db5500.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db5500.h b/arch/arm/mach-ux500/devices-db5500.h
index 20d921d43c6..77f34130e83 100644
--- a/arch/arm/mach-ux500/devices-db5500.h
+++ b/arch/arm/mach-ux500/devices-db5500.h
@@ -86,4 +86,9 @@ db5500_add_keypad(struct db5500_keypad_platform_data *pdata)
#define db5500_add_uart3(plat) \
dbx500_add_uart("uart3", U5500_UART3_BASE, IRQ_DB5500_UART3, plat)
+#define db5500_add_cryp1(pdata) \
+ dbx500_add_cryp1(-1, U5500_CRYP1_BASE, IRQ_DB5500_CRYP1, pdata)
+#define db5500_add_hash1(pdata) \
+ dbx500_add_hash1(-1, U5500_HASH1_BASE, pdata)
+
#endif