From patchwork Thu Jan 26 16:07:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 9539651 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: 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 81E1960429 for ; Thu, 26 Jan 2017 16:13:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FCA427D4A for ; Thu, 26 Jan 2017 16:13:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61F7827F07; Thu, 26 Jan 2017 16:13:50 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F24E27D4A for ; Thu, 26 Jan 2017 16:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbdAZQNe (ORCPT ); Thu, 26 Jan 2017 11:13:34 -0500 Received: from smtpout.microchip.com ([198.175.253.82]:35469 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752158AbdAZQNG (ORCPT ); Thu, 26 Jan 2017 11:13:06 -0500 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 To: , , CC: , , , , Cyrille Pitchen Subject: [PATCH v3 06/12] crypto: atmel-sha: add SHA_MR_MODE_IDATAR0 Date: Thu, 26 Jan 2017 17:07:51 +0100 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: 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?= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch defines an alias macro to SHA_MR_MODE_PDC, which is not suited for DMA usage. Signed-off-by: Cyrille Pitchen --- drivers/crypto/atmel-sha-regs.h | 1 + 1 file changed, 1 insertion(+) 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)