1 From 18c56f8bced33c4d3d18dd10d2648def4291e6ea Mon Sep 17 00:00:00 2001
2 From: Franck LENORMAND <franck.lenormand@nxp.com>
3 Date: Tue, 5 Mar 2019 14:20:34 +0100
4 Subject: [PATCH] MLK-19449 crypto: caam - Change structure type representing
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 The structure partid is not suitable to represent the DECO MID register.
12 This patch replace partid by masterid which is more appropriate.
14 Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
15 Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
16 (cherry picked from commit 2d8dab735757dae8efb35bb0371970a7d27e98be)
17 Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
19 drivers/crypto/caam/regs.h | 8 +-------
20 1 file changed, 1 insertion(+), 7 deletions(-)
22 --- a/drivers/crypto/caam/regs.h
23 +++ b/drivers/crypto/caam/regs.h
24 @@ -518,12 +518,6 @@ struct masterid {
25 u32 liodn_ls; /* LIODN for non-sequence and seq access */
28 -/* Partition ID for DMA configuration */
31 - u32 pidr; /* partition ID, DECO */
34 /* RNGB test mode (replicated twice in some configurations) */
35 /* Padded out to 0x100 */
37 @@ -637,7 +631,7 @@ struct caam_ctrl {
38 u32 deco_rsr; /* DECORSR - Deco Request Source */
40 u32 deco_rq; /* DECORR - DECO Request */
41 - struct partid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */
42 + struct masterid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */
45 /* DECO Availability/Reset Section 120-3ff */