Message ID | d4eaf0e1d89467a56469fe82d39e8aafce4dcc46.1485443478.git.cyrille.pitchen@atmel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 11D82604A0 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 26 Jan 2017 16:23:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02AF1204C1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 26 Jan 2017 16:23:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBA6C27F9F; Thu, 26 Jan 2017 16:23:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CF242204C1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 26 Jan 2017 16:23:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWmpc-00066Q-Px; Thu, 26 Jan 2017 16:23:28 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWmpa-0005yh-F9 for linux-arm-kernel@bombadil.infradead.org; Thu, 26 Jan 2017 16:23:26 +0000 Received: from smtpout.microchip.com ([198.175.253.82] helo=email.microchip.com) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWmeF-0001mD-I2 for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2017 16:11:45 +0000 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch06.mchp-main.com (10.10.76.107) with Microsoft SMTP Server id 14.3.181.6; Thu, 26 Jan 2017 09:11:21 -0700 From: Cyrille Pitchen <cyrille.pitchen@atmel.com> To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>, <nicolas.ferre@atmel.com> Subject: [PATCH v3 06/12] crypto: atmel-sha: add SHA_MR_MODE_IDATAR0 Date: Thu, 26 Jan 2017 17:07:51 +0100 Message-ID: <d4eaf0e1d89467a56469fe82d39e8aafce4dcc46.1485443478.git.cyrille.pitchen@atmel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <cover.1485443478.git.cyrille.pitchen@atmel.com> References: <cover.1485443478.git.cyrille.pitchen@atmel.com> MIME-Version: 1.0 X-Brightmail-Tracker: =?us-ascii?Q?H4sIAAAAAAAAC+NgFjrDKsWRWlGSWpSXmKPExsXCxeXDortSvivC4PL5Gcd5?= =?us-ascii?Q?Le59P89sMed8C4tF9ysZi02Pr7Fa3L/3k8ni8q45bBbfLjezW0w9vZbFgcNj?= =?us-ascii?Q?wa+tLB6frlxh8tiy8iaTx7YDqh6bl9R7fN4kF8AWxZqZl5RfkcCaMXn6daaC?= =?us-ascii?Q?vawVxzZtZWtgPMbSxcjFISSwnlFidf9fIIeTg03AUOLtg6OsILaIQKDEwpZX?= =?us-ascii?Q?jCBFzALrGCVamt8ydzFycAgLuEis/5oFYrIIqEr0H2UHKecViJd4PXEfE4gt?= =?us-ascii?Q?ISAncfNcJzOIzSlgK7Hy12o2EFtIwEai+85bRoh6QYmTM5+ArWUWkJA4+OIF?= =?us-ascii?Q?M0SNGtDaFWCbJIBOuHKlEGKkk8T/lTPZIWw7icPTL0LZDhL3789gg6k5uPU5?= =?us-ascii?Q?lK0tsf3VPlYIW0di28F+FgjbVmLPjIlQZ7pLPHi0HMr2lZj1sAGqJkriVP9n?= =?us-ascii?Q?1gmMErOQXDoLyaULGJlWMUo7e/jpBofpukY4exiY6eUmZxTo5iZm5ukl5+du?= =?us-ascii?Q?YoREZ/YOxiPzIw4xSnIwKYny3tTujBDiS8pPqcxILM6ILyrNSS0+xCjDwaEk?= =?us-ascii?Q?wbtfritCSLAoNT21Ii0zB5gmYNJMHJyHGCU4eJREeCeC1PAWFyTmFmemQ+RP?= =?us-ascii?Q?MapynPp04SWTEEtefl6qlDhvJ0iRAEhRRmke3JxLjKJSwrynRYFyPAWpRbmZ?= =?us-ascii?Q?JRDxW4zCHA9hmoFuZgACDcZXjOIcjErCvFdBZvFk5pXA7XsFdAoT0CkXmNtB?= =?us-ascii?Q?TilJREhJNTDGrP7y4ufGHct+eBdHmZYFO2w+xlOh0/4qevW7WSqbrReKvPl3?= =?us-ascii?Q?cd7BC1xCf+NKrb6JK575fLT2j5Nzxem7QvPm+9wWM3s5QffhJIdo6YDZr186?= =?us-ascii?Q?Pg4QSepL41KQW++/2t/tEv/2h2s26PEb7a82lVGr2Mg3Lbxzt7Z9UWllQ5N4?= =?us-ascii?Q?PNvqpDvOerVKLMUZiYZazEXFiQAJn5J1XwMAAA=3D=3D?= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_161143_769330_50E15F59 X-CRM114-Status: UNSURE ( 8.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: smueller@chronox.de, Cyrille Pitchen <cyrille.pitchen@atmel.com>, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/crypto/atmel-sha-regs.h b/drivers/crypto/atmel-sha-regs.h index deb0b0b15096..8d62d31eda08 100644 --- a/drivers/crypto/atmel-sha-regs.h +++ b/drivers/crypto/atmel-sha-regs.h @@ -16,6 +16,7 @@ #define SHA_MR_MODE_MANUAL 0x0 #define SHA_MR_MODE_AUTO 0x1 #define SHA_MR_MODE_PDC 0x2 +#define SHA_MR_MODE_IDATAR0 0x2 #define SHA_MR_PROCDLY (1 << 4) #define SHA_MR_UIHV (1 << 5) #define SHA_MR_UIEHV (1 << 6)
This patch defines an alias macro to SHA_MR_MODE_PDC, which is not suited for DMA usage. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> --- drivers/crypto/atmel-sha-regs.h | 1 + 1 file changed, 1 insertion(+)