Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967249AbbLQQtC (ORCPT ); Thu, 17 Dec 2015 11:49:02 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:56461 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967230AbbLQQs5 (ORCPT ); Thu, 17 Dec 2015 11:48:57 -0500 From: Cyrille Pitchen To: , , CC: , , , Leilei Zhao Subject: [PATCH 01/24] crypto: atmel-aes: add new version Date: Thu, 17 Dec 2015 17:48:32 +0100 Message-ID: <539384e229f7aa1b0ccd6064d0480f40024d1443.1450366831.git.cyrille.pitchen@atmel.com> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 33 From: Leilei Zhao Add new version of atmel-aes available with SAMA5D2 devices. Signed-off-by: Leilei Zhao --- drivers/crypto/atmel-aes.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index bfb1f799bf56..854e2813b2bb 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -1258,6 +1258,11 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd) /* keep only major version number */ switch (dd->hw_version & 0xff0) { + case 0x500: + dd->caps.has_dualbuff = 1; + dd->caps.has_cfb64 = 1; + dd->caps.max_burst_size = 4; + break; case 0x200: dd->caps.has_dualbuff = 1; dd->caps.has_cfb64 = 1; -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/