summaryrefslogtreecommitdiff
path: root/include/fsl_sfp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fsl_sfp.h')
-rw-r--r--include/fsl_sfp.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/fsl_sfp.h b/include/fsl_sfp.h
index 2976a2cbef..d3a2813470 100644
--- a/include/fsl_sfp.h
+++ b/include/fsl_sfp.h
@@ -78,9 +78,16 @@ struct ccsr_sfp_regs {
u32 fsl_uid; /* 0xB0 FSL Unique ID */
};
#endif
+
#define ITS_MASK 0x00000004
#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