Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Franck LENORMAND <franck.lenormand@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Franck LENORMAND and committed by
Herbert Xu
9a6913fe 3de0152b

+1 -7
+1 -7
drivers/crypto/caam/regs.h
··· 459 459 u32 liodn_ls; /* LIODN for non-sequence and seq access */ 460 460 }; 461 461 462 - /* Partition ID for DMA configuration */ 463 - struct partid { 464 - u32 rsvd1; 465 - u32 pidr; /* partition ID, DECO */ 466 - }; 467 - 468 462 /* RNGB test mode (replicated twice in some configurations) */ 469 463 /* Padded out to 0x100 */ 470 464 struct rngtst { ··· 584 590 u32 deco_rsr; /* DECORSR - Deco Request Source */ 585 591 u32 rsvd11; 586 592 u32 deco_rq; /* DECORR - DECO Request */ 587 - struct partid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */ 593 + struct masterid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */ 588 594 u32 rsvd5[22]; 589 595 590 596 /* DECO Availability/Reset Section 120-3ff */