mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-28 09:31:32 +00:00
fsl_sfp : Modify macros as per changes in SFP v3.4
SFP v3.4 supports 8 keys in SRK table which leads to corresponding changes in OSPR key revocation field. So modify OSPR_KEY_REVOC_XXX macros accordingly. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
f85a8e8d1d
commit
abd9c1bbfb
1 changed files with 9 additions and 2 deletions
|
@ -78,9 +78,16 @@ struct ccsr_sfp_regs {
|
||||||
u32 fsl_uid; /* 0xB0 FSL Unique ID */
|
u32 fsl_uid; /* 0xB0 FSL Unique ID */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ITS_MASK 0x00000004
|
#define ITS_MASK 0x00000004
|
||||||
#define ITS_BIT 2
|
#define ITS_BIT 2
|
||||||
#define OSPR_KEY_REVOC_SHIFT 13
|
|
||||||
#define OSPR_KEY_REVOC_MASK 0x0000e000
|
#if defined(CONFIG_SYS_FSL_SFP_VER_3_4)
|
||||||
|
#define OSPR_KEY_REVOC_SHIFT 9
|
||||||
|
#define OSPR_KEY_REVOC_MASK 0x0000fe00
|
||||||
|
#else
|
||||||
|
#define OSPR_KEY_REVOC_SHIFT 13
|
||||||
|
#define OSPR_KEY_REVOC_MASK 0x0000e000
|
||||||
|
#endif /* CONFIG_SYS_FSL_SFP_VER_3_4 */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue