From patchwork Thu Dec 22 16:37:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 9485347 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 2C4B3601C0 for ; Thu, 22 Dec 2016 16:40:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EEA228066 for ; Thu, 22 Dec 2016 16:40:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13AA82811E; Thu, 22 Dec 2016 16:40: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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A8DC728066 for ; Thu, 22 Dec 2016 16:40:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cK6Om-0004rP-74; Thu, 22 Dec 2016 16:39:20 +0000 Received: from exsmtp02.microchip.com ([198.175.253.38] helo=email.microchip.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cK6Nl-0003x3-7T for linux-arm-kernel@lists.infradead.org; Thu, 22 Dec 2016 16:38:18 +0000 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server id 14.3.181.6; Thu, 22 Dec 2016 09:38:03 -0700 From: Cyrille Pitchen To: , , Subject: [PATCH v2 06/12] crypto: atmel-sha: add SHA_MR_MODE_IDATAR0 Date: Thu, 22 Dec 2016 17:37:55 +0100 Message-ID: <7f3f5092d8e2726ba66a4330b6221ad7072ee8ee.1482424395.git.cyrille.pitchen@atmel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFprKqsTGxcLF5cOim80YE2GwecqsLYwWhxdOYbR48L6TxWLa9HfMFvc+bWO06JiyismBNYAhijUzLym/IoE1Y/L060wFe1krjm3aytbAeIyli5GLQ0hgHaPElZbJbF2MnBxsAoYSbx8cZQWxRQQCJRa2vGIEKWIWmM4o8WD1O3aQhLCAi8S2rptMIDaLgKrEyvtTwJp5BeIl3nx9zgxiSwjISdw81wlmcwrYSqyfew9oKAfQNhuJg2+FIMoFJU7OfMICYjMLSEgcfPECrFxIQA1o7wpmkHIJoBsefLGEmOgkMevnZhYI207i8PSL7BC2vcSlfZdYYGoufXzBBGFrS2x/tY8VwtaR2HawH6rGVmLPjIlQNe4SDx4th7J9JWY9bICqiZK43byLfQKjxCwkl85CcukCRqZVjNLOHn66wWG6rhHOHgZGernJGQW6uYmZeXrJ+bmbGCHRpLaDcWaP/yFGSQ4mJVHerZPOhwvxJeWnVGYkFmfEF5XmpBYfYpTg4FES4d24HCjHW1yQmFucmQ6TkuHgUJLgjQBJCRalpqdWpGXmlKQWQaRPMapyLPhxey2TEEtefl6qlDhvNEihAMiMjNI8uLpLjKJSwrxRS4FyPAWpRbmZJRDxW4zCHA9hmoHOZQACDcZXjOIcjErCvPtBZvFk5pXAnfMK6FImoEvX7T4NcmlJIkJKqoGxKH35jOiAbXWHgxQ+tjwr5NvGeVtBZ8HZknUG7q0lctfD47hzMmubZnIKrb52QGNZ26yWD9c2BYltzGkpWl3Ul2m9WCL6SY9sfmTZvMIEK7VyZgutzo/CFXfOs/05vM52r53tRfZg8Q/9WSHZWuUCZzgvXOwrK1K44rjFzfivYcEy/Qe9E5RYijMSDbWYi4oTAZx2aOEoAwAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161222_083817_397237_CF76CBDC X-CRM114-Status: UNSURE ( 8.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Cyrille Pitchen , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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)