MIPS: Add P6600 PRID & cpu_type_enum values
authorPaul Burton <paul.burton@imgtec.com>
Wed, 3 Feb 2016 03:26:37 +0000 (03:26 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:52 +0000 (14:01 +0200)
Define the processor ID for the P6600 core and add a value to the enum
cpu_type_enum for the core.

[ralf@linux-mips.org: Fix merge conflict.]

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12342/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu.h

index 59b46feb37b18afe1198cf939c34aeec699a91ab..7773b8e0de1e7c928315716cb69f288f0fa2ca69 100644 (file)
 #define PRID_IMP_INTERAPTIV_MP 0xa100
 #define PRID_IMP_PROAPTIV_UP   0xa200
 #define PRID_IMP_PROAPTIV_MP   0xa300
+#define PRID_IMP_P6600         0xa400
 #define PRID_IMP_M5150         0xa700
 #define PRID_IMP_P5600         0xa800
 #define PRID_IMP_I6400         0xa900
@@ -310,7 +311,7 @@ enum cpu_type_enum {
        CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350,
        CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC, CPU_LOONGSON1, CPU_M14KC,
        CPU_M14KEC, CPU_INTERAPTIV, CPU_P5600, CPU_PROAPTIV, CPU_1074K,
-       CPU_M5150, CPU_I6400,
+       CPU_M5150, CPU_I6400, CPU_P6600,
 
        /*
         * MIPS64 class processors