Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966465AbcLVQjf (ORCPT ); Thu, 22 Dec 2016 11:39:35 -0500 Received: from exsmtp02.microchip.com ([198.175.253.38]:49409 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966314AbcLVQiE (ORCPT ); Thu, 22 Dec 2016 11:38:04 -0500 From: Cyrille Pitchen To: , , CC: , , , Cyrille Pitchen 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 Content-Type: text/plain X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFprKqsTGxcLF5cOim80YE2GwecqsLYwWhxdOYbR48L6TxWLa9HfMFvc+bWO06JiyismBNYAhijUzLym/IoE1Y/L060wFe1krjm3aytbAeIyli5GLQ0hgHaPElZbJbF2MnBxsAoYSbx8cZQWxRQQCJRa2vGIEKWIWmM4o8WD1O3aQhLCAi8S2rptMIDaLgKrEyvtTwJp5BeIl3nx9zgxiSwjISdw81wlmcwrYSqyfew9oKAfQNhuJg2+FIMoFJU7OfMICYjMLSEgcfPECrFxIQA1o7wpmkHIJoBsefLGEmOgkMevnZhYI207i8PSL7BC2vcSlfZdYYGoufXzBBGFrS2x/tY8VwtaR2HawH6rGVmLPjIlQNe4SDx4th7J9JWY9bICqiZK43byLfQKjxCwkl85CcukCRqZVjNLOHn66wWG6rhHOHgZGernJGQW6uYmZeXrJ+bmbGCHRpLaDcWaP/yFGSQ4mJVHerZPOhwvxJeWnVGYkFmfEF5XmpBYfYpTg4FES4d24HCjHW1yQmFucmQ6TkuHgUJLgjQBJCRalpqdWpGXmlKQWQaRPMapyLPhxey2TEEtefl6qlDhvNEihAMiMjNI8uLpLjKJSwrxRS4FyPAWpRbmZJRDxW4zCHA9hmoHOZQACDcZXjOIcjErCvPtBZvFk5pXAnfMK6FImoEvX7T4NcmlJIkJKqoGxKH35jOiAbXWHgxQ+tjwr5NvGeVtBZ8HZknUG7q0lctfD47hzMmubZnIKrb52QGNZ26yWD9c2BYltzGkpWl3Ul2m9WCL6SY9sfmTZvMIEK7VyZgutzo/CFXfOs/05vM52r53tRfZg8Q/9WSHZWuUCZzgvXOwrK1K44rjFzfivYcEy/Qe9E5RYijMSDbWYi4oTAZx2aOEoAwAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 22 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) -- 2.7.4