From: Vakul Garg Subject: [PATCHv1] crypto-caam: added entry for P5040 in SEC-VID to SEC-ERA mapping table. Date: Mon, 17 Sep 2012 13:03:09 +0530 Message-ID: <1347867189-23716-1-git-send-email-vakul@freescale.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Vakul Garg To: Return-path: Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:23866 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367Ab2IQHfy (ORCPT ); Mon, 17 Sep 2012 03:35:54 -0400 Received: from mail138-tx2 (localhost [127.0.0.1]) by mail138-tx2-R.bigfish.com (Postfix) with ESMTP id DF532260127 for ; Mon, 17 Sep 2012 07:35:53 +0000 (UTC) Received: from TX2EHSMHS020.bigfish.com (unknown [10.9.14.253]) by mail138-tx2.bigfish.com (Postfix) with ESMTP id 0C3B12E0048 for ; Mon, 17 Sep 2012 07:35:52 +0000 (UTC) Received: from b16394-desktop.ap.freescale.net ([10.213.130.145]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id q8H7ZnhD007271 for ; Mon, 17 Sep 2012 00:35:50 -0700 Sender: linux-crypto-owner@vger.kernel.org List-ID: On P5040, SEC-ERA does not print correctly. This is because SEC-VID to SEC-ERA mapping table does not contain information for P5040. This patch adds this information. Signed-off-by: Vakul Garg --- Please ignore my previous patch which contained internal release prefixes. drivers/crypto/caam/ctrl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 414ba20..97ebf55 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -176,7 +176,8 @@ int caam_get_era(u64 caam_id) {0x0A14, 1, 3}, {0x0A14, 2, 4}, {0x0A16, 1, 4}, - {0x0A11, 1, 4} + {0x0A11, 1, 4}, + {0x0A13, 1, 5} }; int i; -- 1.7.7.6