Commit 9a6913fe authored by Franck LENORMAND's avatar Franck LENORMAND Committed by Herbert Xu

crypto: caam - Change structure type representing DECO MID

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: default avatarFranck LENORMAND <franck.lenormand@nxp.com>
Signed-off-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: default avatarGaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3de0152b
...@@ -459,12 +459,6 @@ struct masterid { ...@@ -459,12 +459,6 @@ struct masterid {
u32 liodn_ls; /* LIODN for non-sequence and seq access */ 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) */ /* RNGB test mode (replicated twice in some configurations) */
/* Padded out to 0x100 */ /* Padded out to 0x100 */
struct rngtst { struct rngtst {
...@@ -590,7 +584,7 @@ struct caam_ctrl { ...@@ -590,7 +584,7 @@ struct caam_ctrl {
u32 deco_rsr; /* DECORSR - Deco Request Source */ u32 deco_rsr; /* DECORSR - Deco Request Source */
u32 rsvd11; u32 rsvd11;
u32 deco_rq; /* DECORR - DECO Request */ 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]; u32 rsvd5[22];
/* DECO Availability/Reset Section 120-3ff */ /* DECO Availability/Reset Section 120-3ff */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment