diff options
author | David Daney <david.daney@cavium.com> | 2012-11-15 16:47:04 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 12:15:25 -0500 |
commit | 6bbf6a6d48f7db2902459273360f87dd6f04385f (patch) | |
tree | 4664a3849aef38f6d8de15e12a27cbf965a11c98 | |
parent | 1007c4bc0f66925d92886dd9e664a1d49bbf6140 (diff) |
MIPS: OCTEON: Add OCTEON family definitions to octeon-model.h
Used by follow-on EDAC patches.
Signed-off-by: David Daney <david.daney@cavium.com>
-rw-r--r-- | arch/mips/include/asm/octeon/octeon-model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/octeon/octeon-model.h b/arch/mips/include/asm/octeon/octeon-model.h index 14dd11f4492a..349bb2ba840c 100644 --- a/arch/mips/include/asm/octeon/octeon-model.h +++ b/arch/mips/include/asm/octeon/octeon-model.h | |||
@@ -218,6 +218,12 @@ | |||
218 | #define OCTEON_CN5XXX (OCTEON_CN58XX_PASS1_0 | OM_MATCH_5XXX_FAMILY_MODELS) | 218 | #define OCTEON_CN5XXX (OCTEON_CN58XX_PASS1_0 | OM_MATCH_5XXX_FAMILY_MODELS) |
219 | #define OCTEON_CN6XXX (OCTEON_CN63XX_PASS1_0 | OM_MATCH_6XXX_FAMILY_MODELS) | 219 | #define OCTEON_CN6XXX (OCTEON_CN63XX_PASS1_0 | OM_MATCH_6XXX_FAMILY_MODELS) |
220 | 220 | ||
221 | /* These are used to cover entire families of OCTEON processors */ | ||
222 | #define OCTEON_FAM_1 (OCTEON_CN3XXX) | ||
223 | #define OCTEON_FAM_PLUS (OCTEON_CN5XXX) | ||
224 | #define OCTEON_FAM_1_PLUS (OCTEON_FAM_PLUS | OM_MATCH_PREVIOUS_MODELS) | ||
225 | #define OCTEON_FAM_2 (OCTEON_CN6XXX) | ||
226 | |||
221 | /* The revision byte (low byte) has two different encodings. | 227 | /* The revision byte (low byte) has two different encodings. |
222 | * CN3XXX: | 228 | * CN3XXX: |
223 | * | 229 | * |