Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324875

[PATCH 1/3] MIPS: Add P6600 PRID & cpu_type_enum values

From Paul Burton <paul.burton@imgtec.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] MIPS: Add P6600 PRID & cpu_type_enum values
Date 2016-02-03 04:30 +0100
Message-ID <qXWiK-4Pu-9@gated-at.bofh.it> (permalink)
References <qXWiK-4Pu-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Define the processor ID for the P6600 core and add a value to the enum
cpu_type_enum for the core.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
---

 arch/mips/include/asm/cpu.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h
index a97ca97..7908dc2 100644
--- a/arch/mips/include/asm/cpu.h
+++ b/arch/mips/include/asm/cpu.h
@@ -118,6 +118,7 @@
 #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
@@ -308,7 +309,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_I6400, CPU_P6600,
 
 	/*
 	 * MIPS64 class processors
-- 
2.7.0

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Imagination Technologies MIPS P6600 CPU Support Paul Burton <paul.burton@imgtec.com> - 2016-02-03 04:30 +0100
  [PATCH 1/3] MIPS: Add P6600 PRID & cpu_type_enum values Paul Burton <paul.burton@imgtec.com> - 2016-02-03 04:30 +0100
  [PATCH 3/3] MIPS: Probe the P6600 core Paul Burton <paul.burton@imgtec.com> - 2016-02-03 04:30 +0100
  [PATCH 2/3] MIPS: Add P6600 cases to CPU switch statements Paul Burton <paul.burton@imgtec.com> - 2016-02-03 04:30 +0100
    Re: [PATCH 2/3] MIPS: Add P6600 cases to CPU switch statements "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-03 20:50 +0100

csiph-web