From patchwork Mon Aug 6 12:23:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 1278701 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 3563FDF215 for ; Mon, 6 Aug 2012 12:27:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SyMMH-0001ah-G0; Mon, 06 Aug 2012 12:24:29 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SyMLt-0001WJ-78 for linux-arm-kernel@lists.infradead.org; Mon, 06 Aug 2012 12:24:06 +0000 Received: by mail-bk0-f49.google.com with SMTP id ji2so1168040bkc.36 for ; Mon, 06 Aug 2012 05:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=jV33b5h4EB90uv4BpoGx/al78V0Ovb/mwwSe5NBvMas=; b=xh4I3GLXDG76TKc6wbqnoJTpbyCgAJjfl4YQpfgVidZ0s8TmzMfdws2kbHmPzPhJuy Lr1UJCbXoLPcloYQPf44B+uioot5x0QPby4F20CDua0wxrDIlARbQZBX4O47fRScDvyk AVr3RrPMkQlZxxDhVNJX9cnSRhV5JP+valSjWK6l6tuu26aHP0FBJH3eEK6FL4s1moR9 XCm5rMcBFuQs6bKDBKoUl95mn/+HxCOzW0R/0ZOxEy4MJ22TY5HnKYh4jbT9Jx4IoLl9 HNwycv0P1E73KPNy9ukCxcZaBORKnMkfJkZ67wK8xYJNmRyJN3/ePbcDM+Izx8c5gtbr vFNQ== Received: by 10.204.154.85 with SMTP id n21mr3975478bkw.48.1344255844776; Mon, 06 Aug 2012 05:24:04 -0700 (PDT) Received: from edge.mip.uni-hannover.de (ip116.244.mip.uni-hannover.de. [130.75.244.116]) by mx.google.com with ESMTPS id hg13sm7341595bkc.7.2012.08.06.05.24.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 05:24:02 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 3/6] ARM: dove: add crypto engine Date: Mon, 6 Aug 2012 14:23:31 +0200 Message-Id: <1344255815-4457-4-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1344255815-4457-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1344255815-4457-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Andrew Lunn , Russell King , Jason Cooper , Arnd Bergmann , linux-kernel@vger.kernel.org, Rabeeh Khoury , Maen Suleiman , Olof Johansson , Ian Molton , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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 Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Rabeeh Khoury Cc: Ian Molton Cc: Arnd Bergmann Cc: Maen Suleiman Cc: Olof Johansson --- arch/arm/mach-dove/common.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c index e074f1c..6f2fe65 100644 --- a/arch/arm/mach-dove/common.c +++ b/arch/arm/mach-dove/common.c @@ -263,6 +263,15 @@ struct sys_timer dove_timer = { }; /***************************************************************************** + * Cryptographic Engines and Security Accelerator (CESA) + ****************************************************************************/ +void __init dove_crypto_init(void) +{ + orion_crypto_init(DOVE_CRYPT_PHYS_BASE, DOVE_CESA_PHYS_BASE, + DOVE_CESA_SIZE, IRQ_DOVE_CRYPTO); +} + +/***************************************************************************** * XOR 0 ****************************************************************************/ void __init dove_xor0_init(void)