Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965814AbcLVQPl (ORCPT ); Thu, 22 Dec 2016 11:15:41 -0500 Received: from smtpout.microchip.com ([198.175.253.82]:30267 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965778AbcLVQPg (ORCPT ); Thu, 22 Dec 2016 11:15:36 -0500 From: Cyrille Pitchen To: , , CC: , , , Cyrille Pitchen 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 Content-Type: text/plain 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== 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