aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2012-08-15 13:07:32 -0400
committerJason Cooper <jason@lakedaemon.net>2012-09-21 13:07:21 -0400
commit624d0b52758d312ce1339bc88d23e6ef7ba980ee (patch)
treea53a4971eaa3ad83f00797b0ce92a165431fd560 /arch
parent521674718af0f20fada7311a74c3f8fe23767d55 (diff)
ARM: dove: add crypto engine
This patch adds a dove specific setup function for the Marvell CESA crypto engine available on orion based SoCs. Dove setup was just missing a function to call orion_crypto_init with dove specific setup. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-dove/common.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index 38e2cc3b206b..d5de814c52a3 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -259,6 +259,15 @@ struct sys_timer dove_timer = {
259}; 259};
260 260
261/***************************************************************************** 261/*****************************************************************************
262 * Cryptographic Engines and Security Accelerator (CESA)
263 ****************************************************************************/
264void __init dove_crypto_init(void)
265{
266 orion_crypto_init(DOVE_CRYPT_PHYS_BASE, DOVE_CESA_PHYS_BASE,
267 DOVE_CESA_SIZE, IRQ_DOVE_CRYPTO);
268}
269
270/*****************************************************************************
262 * XOR 0 271 * XOR 0
263 ****************************************************************************/ 272 ****************************************************************************/
264void __init dove_xor0_init(void) 273void __init dove_xor0_init(void)