Skip to content

Commit

Permalink
crypto: caam - Change structure type representing DECO MID
Browse files Browse the repository at this point in the history
The structure partid is not suitable to represent the DECO MID register.

This patch replace partid by masterid which is more appropriate.

Signed-off-by: Franck LENORMAND <[email protected]>
Signed-off-by: Horia Geantă <[email protected]>
Signed-off-by: Meenakshi Aggarwal <[email protected]>
Reviewed-by: Gaurav Jain <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
lenormandfranck authored and herbertx committed Aug 4, 2023
1 parent 3de0152 commit 9a6913f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/crypto/caam/regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,12 +459,6 @@ struct masterid {
u32 liodn_ls; /* LIODN for non-sequence and seq access */
};

/* Partition ID for DMA configuration */
struct partid {
u32 rsvd1;
u32 pidr; /* partition ID, DECO */
};

/* RNGB test mode (replicated twice in some configurations) */
/* Padded out to 0x100 */
struct rngtst {
Expand Down Expand Up @@ -590,7 +584,7 @@ struct caam_ctrl {
u32 deco_rsr; /* DECORSR - Deco Request Source */
u32 rsvd11;
u32 deco_rq; /* DECORR - DECO Request */
struct partid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */
struct masterid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */
u32 rsvd5[22];

/* DECO Availability/Reset Section 120-3ff */
Expand Down

0 comments on commit 9a6913f

Please sign in to comment.