diff options
author | Franck LENORMAND <franck.lenormand@nxp.com> | 2019-03-05 14:20:34 +0100 |
---|---|---|
committer | Franck LENORMAND <franck.lenormand@nxp.com> | 2019-03-21 15:16:44 +0100 |
commit | 3079488be5eecd8dceafd6c8a88c0474c4376a26 (patch) | |
tree | a640213ee8620156d8ad15b73b14190ab414944e /drivers/crypto | |
parent | 9903348365e75cc7f99c85bea06ee87af171568e (diff) |
MLK-19449: 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.
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
(cherry picked from commit 49d6d90809cb04ae3a63e7e87f670014ab5da0a1)
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/caam/regs.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index 1f7e9c15f018..9bd62c9a678f 100644 --- a/drivers/crypto/caam/regs.h +++ b/drivers/crypto/caam/regs.h @@ -3,7 +3,7 @@ * CAAM hardware register-level view * * Copyright 2008-2016 Freescale Semiconductor, Inc. - * Copyright 2017-2018 NXP + * Copyright 2017-2019 NXP */ #ifndef REGS_H @@ -426,12 +426,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 { @@ -545,7 +539,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 */ |