Skip to content

Commit

Permalink
MIPS: OCTEON: Add OCTEON family definitions to octeon-model.h
Browse files Browse the repository at this point in the history
Used by follow-on EDAC patches.

Signed-off-by: David Daney <david.daney@cavium.com>
  • Loading branch information
David Daney authored and Ralf Baechle committed Dec 13, 2012
1 parent 1007c4b commit 6bbf6a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/mips/include/asm/octeon/octeon-model.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
#define OCTEON_CN5XXX (OCTEON_CN58XX_PASS1_0 | OM_MATCH_5XXX_FAMILY_MODELS)
#define OCTEON_CN6XXX (OCTEON_CN63XX_PASS1_0 | OM_MATCH_6XXX_FAMILY_MODELS)

/* These are used to cover entire families of OCTEON processors */
#define OCTEON_FAM_1 (OCTEON_CN3XXX)
#define OCTEON_FAM_PLUS (OCTEON_CN5XXX)
#define OCTEON_FAM_1_PLUS (OCTEON_FAM_PLUS | OM_MATCH_PREVIOUS_MODELS)
#define OCTEON_FAM_2 (OCTEON_CN6XXX)

/* The revision byte (low byte) has two different encodings.
* CN3XXX:
*
Expand Down

0 comments on commit 6bbf6a6

Please sign in to comment.