From patchwork Thu Dec 22 16:15:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 9485265 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 82C3E600BA for ; Thu, 22 Dec 2016 16:18:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7408A27F89 for ; Thu, 22 Dec 2016 16:18:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 674B62808C; Thu, 22 Dec 2016 16:18:16 +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 85CA727F89 for ; Thu, 22 Dec 2016 16:18:09 +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 1cK62z-0005sN-3c; Thu, 22 Dec 2016 16:16:49 +0000 Received: from smtpout.microchip.com ([198.175.253.82] helo=email.microchip.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cK628-0005OV-JB for linux-arm-kernel@lists.infradead.org; Thu, 22 Dec 2016 16:15:57 +0000 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.181.6; Thu, 22 Dec 2016 09:15:35 -0700 From: Cyrille Pitchen To: , , Subject: [PATCH 06/12] crypto: atmel-sha: add SHA_MR_MODE_IDATAR0 Date: Thu, 22 Dec 2016 17:15:11 +0100 Message-ID: <7f3f5092d8e2726ba66a4330b6221ad7072ee8ee.1482422983.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+NgFprOqsTGxcLF5cOiq/4nOsJgeue8N7wWhxdOYbR48L6TxWLa9HfMFvc+bWO06JiyismBNYAhijUzLym/IoE1Y/L060wFe1krjm3aytbAeIyli5GLQ0hgPaPEnLe3mLoYOTnYBAwl3j44ygpiiwgESixsecUIUsQsMJ1R4sHqd+wgCWEBR4lZR86DNbAIqEo8P7SXBcTmFYiX+HZ0OZgtISAncfNcJzOIzSlgK/H47j2woUICNhL/V95lhagXlDg58wlYPbOAhMTBFy+YIWrUgBavYIaYEyixqreFDcJ2kni+7iaUbSdxePpFdgjbQaJrwW9mmJqnjy9C2doS21/tY4WwdSS2HeyHus1WYs+MiUwQtrvEg0fLoWxfiVkPG6BqoiTalmxmm8AoMQvJqbOQnLqAkWkVo7Szh59ucJiua4Szh4G5Xm5yRoFubmJmnl5yfu4mRkhE5exgnDzJ/xCjJAeTkijv1knnw4X4kvJTKjMSizPii0pzUosPMUpw8CiJ8PIvA8rxFhck5hZnpsOkZDg4lCR4Hy8FSgkWpaanVqRl5pSkFkGkTzGqciz4cXstkxBLXn5eqpQ470eQQgGQGRmleXB1lxhFpYR5o0ByPAWpRbmZJRDxW4zCHA9hmoHOZQACDcZXjOIcjErCvNIg9/Bk5pXAnfMK6FImoEvX7T4NcmlJIkJKqoHRKsk20/fFfAlu0Z4ra5a+CZ2p3SxRyfF66+QJcYIVayaIipeuy1ObYWP3Ir+sJthtcd5htZmu152tQoSeuvp1r/76QL7PuktnkqGvz6f6vw+3eG/m7HF7ZnKh5eKXi1PKtVvePzP/pGKlvkne4G6BhvunZtue+/Hi937716sky30r27P0zRMlluKMREMt5qLiRABZB0wXKgMAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161222_081556_756584_13D38783 X-CRM114-Status: UNSURE ( 7.96 ) 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)